General information
Category:
Coding, syntax & commands
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only