Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
HighLightStyle property
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
HighLightStyle property
Miscellaneous
Thread ID:
00794044
Message ID:
00794044
Views:
43
I've been using DynamicBackColor in previous versions to do this but would like to use the new VFP 8.0 feature.
THIS.SETALL("DynamicBackColor", ;
  "iif(recno(THIS.RecordSource) = this.nCurrentRecord, EVAL('RGB(' + SUBSTR(RGBSCHEME(15, 6),"+ ;
  "AT(',', RGBSCHEME(15, 6), 3) + 1)), EVAL('RGB(' + SUBSTR(RGBSCHEME(15, 2), AT(',', RGBSCHEME(15, 2), 3) + 1)))", ;
  "Business_Column")

THIS.SETALL("DynamicForeColor", ;
  "iif(recno(THIS.RecordSource) = this.nCurrentRecord, EVAL(LEFT(RGBSCHEME(15, 6),"+ ;
  "AT(',', RGBSCHEME(15, 6), 3) - 1) + ')'), EVAL(LEFT(RGBSCHEME(15, 2), AT(',', RGBSCHEME(15, 2), 3) - 1) + ')'))", ;
  "Business_Column")
What properties to I need to set to highlight the entire row in a grid like the code above?
Heavy Metal Pedal - click with care
Next
Reply
Map
View

Click here to load this message in the networking platform