Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Turn off grid scrolling??
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01403908
Message ID:
01403912
Views:
60
>Is there a way to prevent a grid from scrolling? I have a grid on a form where, in many cases, there are fewer records than there is space on the grid. Sometimes as my code runs or if the user hits the mouse wheel some number of records scroll up off the screen. I would like to stop the scrolling till the record count is more that will fit on the grid.
>
>I tried using NoDefault in the DoScroll but it did nothing.
>TIA

Perhaps you can calculate if the number of records fits into the grid - don't show scrollbars?

That's just the first idea that comes to mind.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform