Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How does the form Scrollbar property work
Message
 
À
02/05/2000 13:33:15
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00365199
Message ID:
00365210
Vues:
13
>I would like to use the VFP6 form Scrollbar property to make my form scrollable. However, it doesn't work as I expected.
>
>I have a sample form with textboxes in view and textboxes below but out of view. The ScrollBar property is on and the Vertical scrollbars are visible. I can use my mouse to scroll to the textboxes that are out of view, but how can I make the form scroll when tabbing to the different objects.
>
>I'm looking for the functionality that a browser gives you when tabbing around a web page.
>
>Can this be done with a VFP6 form?
>
>Thanks,
>
>Jerryt

Jerry, use form.SetViewPort method in textbox.LostFocus(), for example:

thisform.SetViewPort(1, 250)

- scrolls the form down so it's visible top corresponds the vertical position 250.
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform