Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Color lines in a grid
Message
From
30/06/2004 06:02:30
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00876634
Message ID:
00918904
Views:
10
Nick,

Firstly thanks for GridHighlighter! I can't believe microsoft still can't get it right in VFP8! (comboboxes where the final straw)

I wanted to be so bold as to add a method to the class, but obviously can't as I can't recompile, can I put it forward as a suggestion?

I found myself often wanting to match the highlight colours of the grid to other objects (either on the form or user settings on the application object). Since colour properties are by default stored as Hex and GridHighlighter stores RGB string I had a dilema!

My solution was to write a SetHighlight method that received the property to change and Hex Colour. It Translates the hex value and sets the properties.

So I can call .SetHighlight("cHighBackColor",THISFORM.BackColor)

Any thoughts?


Gary.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform