Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Finding out what records are visible in a grid...
Message
From
11/01/2000 06:52:33
Rex Mahel
Realm Software, Llc
Ohio, United States
 
 
To
11/01/2000 03:42:57
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00314539
Message ID:
00316052
Views:
23
Marcia,

I want to be able to handle grid scrolling with programmatic record movement.
If the grid has focus, I want to move the ActiveRow scroll the grid up or down one row to see the new ActiveRow.

Thanks

Rex

>Hi Rex.
>
>>> So if the RelativeRow is > 0 and I move up one row and the RelativeRow is 0, I know that the ActiveRow is above the visible area <<
>
>If the grid has focus and RelativeRow = 0 you know that the current record is not in the visible portion of the grid. It could be above or below. The only way this happens (other than programmatically < s > ) is when the user sets focus to a grid cell and then uses the vertical scroll bar to scroll that row out of sight.
>
>What, exactly, are you trying to accomplish here?
>
>Marcia
Previous
Reply
Map
View

Click here to load this message in the networking platform