Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Finding out what records are visible in a grid...
Message
From
07/01/2000 13:11:09
Rex Mahel
Realm Software, Llc
Ohio, United States
 
 
To
07/01/2000 12:03:56
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00314539
Message ID:
00314625
Views:
35
Cetin,

I've got code to tell is a record in below the current visible grid area, but how do I tell if it is above the visible area?

TIA

Rex
>>Is there a way to tell what table records are presently visible in a grid?
>>
>>TIA
>>
>>Rob.
>
>
I use grid math for it. Something like this :
>
>with this
>lnRecsVisible = int((.height - .headerheight)/.rowheight)
>endwith
>
>Current record could be found by grid.relativerow. So it's possible to calculate how much to skip backward, forward to get visible top, bottom. Of course it's not easy if buffering is on and rec pointer movement is a problem.
>Cetin
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform