Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Turn off grid scrolling??
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01403908
Message ID:
01404431
Vues:
71
To prevent a user from scrolling the grid, remove scrollbars and add NODEFAULT to the MouseWeel() event.

>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
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform