Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Highlighting the current row in grid
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00358923
Message ID:
00360616
Views:
7
>Using ABS() on recno() in the afterrowchange event got it to work. It appears that if recno() and this.currecno are both negative, they will evaluate true in the dynamic color properties regardless of their value. This is obviously not right, is there some evironmental setting or number comparison thing I'm overlooking?

Not that I know of. Just for kicks, try placing the name of a custom grid method in the DynamicForeColor properties, and put some code in that method to compere CurRec and Recno() and return the value. This way, you can look at the comparison in thedebugger and see what is going on.
Erik Moore
Clientelligence
Previous
Reply
Map
View

Click here to load this message in the networking platform