Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Avoiding bottom-scroll in grids
Message
From
22/02/2009 07:40:30
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Avoiding bottom-scroll in grids
Miscellaneous
Thread ID:
01383317
Message ID:
01383317
Views:
126
The Megafox book discusses how to have the bottom of a grid fill the last page when a form is being instantiated. I would like to know the solution to a slightly different problem. If I am on the bottom displayed row of a one-column grid and that also corresponds to the last row in the record source, pressing the down-arrow or page-down key will cause a single-row scroll. The action causes me to stay at the same point in the record source and on same grid cell (as it should), but there is now a blank row at the bottom of the grid. Is there a way to prevent this? Visually, when positioned at the bottom, I want a down-arrow or page-down keypress to result in no change to my grid's appearance.

TIA,
-mark
Next
Reply
Map
View

Click here to load this message in the networking platform