Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Auto Scrolling Window
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00425828
Message ID:
00425874
Vues:
16
>Holllaaaaa!
>
>Is there any solution to automatically scroll the window if focus on a field that is in a non-visible area of window, even if the scroll bars are present.
>
>Thanks and best regards to all.....

Yeah, the solution is to compare the coordinates (This.Top & This.Left) of the current control with the ThisForm.ViewPortTop & ThisForm.ViewPortLeft and call the ThisForm.SetViewPort().

Strongly suggest that you look for a way not to use a scrollable form though since the results are not always pretty.
-cjh
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform