Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
The GRID!
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Miscellaneous
Thread ID:
00010812
Message ID:
00010829
Views:
28
>>In trying to create a reusable class with grid row highlighting I found this out:
>I know this is not answering your direct q.
>but why don't u use the dynamicbackcolor (or dynamicforcolor)
>properties also in VFP5.0 u have a highlightrow or something like that property
>
>Arnon
Thanks for the response Arnon. The highlight and the highlight row properties in 5.0 don't do what you'd expect. They only work on one cell at a time, one highlights the frame of the cell, the other highlights the cell.

I am using the dynamic colors though, but some of my code (to change the row that gets the color) is in the textbox (or combo, or whatever) "when" event, so when the row is moved down, the "when" event fires changing the row that gets the color. One alternative was to use the "AfterRowColChange" of the grid, but this is too sluggish, the other way looks much nicer.

By the way, if you substitute my "addcolum(1)" in the previous example with columncount=1 or any other number, the bug is still there.

Greg
** ** ** ** ** ** ** ** ** ** **
Gregory Cummines
Visual FoxPro 3.0/5.0
C/C++ Applications
** ** ** ** ** ** ** ** ** ** **
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform