Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Top Row of a grid
Message
From
04/05/2005 04:12:25
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01010583
Message ID:
01010680
Views:
21
>How can I determine the record that is in the top row of a grid? In other words the selected record is 10, but the grid has now scrolled down about 500 rows, now which record is now the 1st row? Isn't there a Y component compliment to the leftcolumn property?

If you're in grid (that's it has focus) you can use RelativeRow to determine your position in visible part. If grid doesn't have focus then you might achieve the same goal using GridHitTest.
Say current relativeRow = 5, then you're on 5th row in grid.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform