Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Rows in Grids
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00003307
Message ID:
00003341
Views:
40
>There are as many rows as there are records in the table/cursor that the grid is bound to. There is no property which gives you a number of displayed rows. You would have to calculate the number of rows: e.g., (Grid.height - HeaderHeight)/RowHeight
>And then it would be approximate if you had a horizontal scroll bar. I suppose you could subtract the HeaderHeight twice if its near the same height as the horizontal scroll bar.
>HTH 8-)

Michel

I should have specified Data rows. The problem arises from the fact I am using a filter in the Grid.

Thanks
Tom
Tom
--------------------------------
Tom O'Hare
407-299-4268 -- tom@redtile.com -- http://www.redtile.com/
Independent Programmer Using Visual FoxPro, Visual Basic & more...
Operations Manager -- Virtual FoxPro User Group (VFUG)
http://www.vfug.org/ -- tom@vfug.org
President -- Central Florida FoxPro User Group (CFFUG)
http://www.redtile.com/foxpro/
Universal Thread Most Valued Professional (MVP)
http://www.transformation.com/foxpro/
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform