Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dynamic Cell Border Colour
Message
From
12/06/2006 13:07:02
 
 
To
11/06/2006 12:27:57
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01128329
Message ID:
01128477
Views:
32
Hi Malcolm. Thanks for the ideas. Is there no way in VFP to specify the border colour of a particular grid cell? It seems like a logical thing to be able to do.


>Jos,
>
>Untested ideas:
>
>1. A transparent shape with your custom border color positioned above your cell. Your shape would have to pass through mouseclicks and mouseenter/mouseleave events to the cell beneath it. And it would have to be synchronized with grid scrolling.
>
>- or -
>
>2. Have the gotfocus/lostfocus events of your column object set/clear the column object's border color. You might be able to do this by hijacking one of the Dynamic* grid properties to do this so that only the selected record's border get's set to a different color?
>
>Malcolm
>
>>I use Grid.Column.DynamicBackColor to change colour of the cell background under certain conditions. This works fine. How would one dynamically change only the colour of the cell border instead? Any clever tricks?
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform