Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grids
Message
From
15/02/2000 14:51:55
Michael Dougherty
Progressive Business Publications
Malvern, Pennsylvania, United States
 
 
To
15/02/2000 14:17:56
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Re: Grids
Miscellaneous
Thread ID:
00332380
Message ID:
00332412
Views:
9
Check help for SETALL (Method Example)

frmMyForm.grdGrid1.SetAll("DynamicBackColor", "IIF(MOD(RECNO( ), 2)=0, RGB(255,255,255), RGB(0,255,0))", "Column") && Alternate white and green records

If you change the IIF() condition you can have it highlight those rows that match your criteria. (set the 'other' color to whatever it currently is)

You'll have to do a lot of extra work if you're trying to use the dynamicbackcolor property to indicate the current row pointer. (you'll have to tag the records, and dynamicbackcolor if the record is tagged- and set/unset the tag in the before/after change row - and it might not work right anyway, which is why i gave up on it)
Previous
Reply
Map
View

Click here to load this message in the networking platform