Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dynamic Backcolor - Current Record
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00757947
Message ID:
00757963
Views:
22
>Hi All
>I use DynamicBackcolor in grids like this:
>Thisform.Grid1.SetAll("DynamicBackColor", ;
> "IIF(cOrditm4.jobnum=0, RGB(255,255,255) ;
> , RGB(180,255,255))", "Column")
>I know this is the ultimate dumb question but:
>How would I do this to highlight the current record ?
>Thanks
John,
Rather than comparing
cOrditm4.jobnum=0
create a form property to hold the current record id
Thisform.ID=recno()
then compare that. Don't forget to update the form property every time the record changes.
HTH
Caroline
Previous
Reply
Map
View

Click here to load this message in the networking platform