Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dynamic Cell Border Colour
Message
From
11/06/2006 12:27:57
 
 
To
11/06/2006 12:10:19
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01128329
Message ID:
01128332
Views:
26
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?
Malcolm Greene
Brooks-Durham
mgreene@bdurham.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform