Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Programatically tell WHICH row in grid is selected?
Message
From
25/04/2000 23:38:38
Peter Brama
West Pointe Enterprises
Detroit, Michigan, United States
 
 
To
25/04/2000 23:22:28
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00363425
Message ID:
00363440
Views:
13
This lost me a bit....

ActiveRow returns a row number 1-? Recno() returns a record number What tells the DYNAMIC that the
ActiveRow relates to the RecNo() so that the IIF causes the backcolor to change? I can see how the
"ledger" example works (sort of) in the VFP Samples because it is ever other one), but not sure how to
use it here. Don't I need something in the "column" that states "this row# is" or something like that so I
can compare it in the IIF to the ActiveRow to change the color?

>>Is there a way to tell which row in a grid is the CURRENT record programatically.
>
>You can use ActiveRow to returnt he current row of the grid and Recno() for the actual record number of the record source.
>
>>I was thinking about using a DYNAMIC for controlling the background color of each row so that the current row is a diff color.
>
>This may help: Message #356703
Peter Brama
West Pointe Enterprises

VFP is getting easier but STILL alot to learn!!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform