Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Record pointer in grid without focus
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00044481
Message ID:
00044513
Views:
39
>>>I had the answer before but I lost it. How do you make a grid highlight the row with the current record when the grid doesn't have focus?
>>Use DynamicBackColor for the columns.
>>Alex.
>Sorry to seem slow, but I need an expression. I have IIF(myexpression,RGB(255,255,255),RGB(0,255,0)). What can I put for myexpression? I tried THIS.Text1.Value=myfield, but it didn't like it.

You can use a "dummy" record number;

nRec = recno('etc...')
IIF(recno('etc...') =nRec,...

Note: nRec must have a wide scope.
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform