Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP6 Tip-o-the-day
Message
De
20/07/1998 10:47:10
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00119209
Message ID:
00119258
Vues:
25
>Folks,
>
>VFP6 has added a Scrollbars proprty to fomrs. You can now have vertical, horizontal, or both scrollbars in a form. There are new properties for you to use in managingthe scrollbars and the area of the form in sight. The display area of the formis called the View Port.
>
>The new properties are ViewPortTop, ViewPortLeft, ViewPortHeight, and ViewPortWidth. These properties are read only at desing and runtime. There is a method named SetViewPort that can be used to chage the ViewPortLeft and ViewPortTop properties. The other two change when you change the size of the form, or the user resizes the form.
>
>The scrollbars are smart in that they will disappear if the user resizes the form such that they are no longer necessary.
>
>Finally, there is a scrolled event that allows you to respond programmatically to the user scrolling with the scrollbars.

It is good to have as much functionality as we can get from a development language. It's just that I'm not sure if the whole idea behind scrollable forms is right from an UI standpoint. Maybe it's just me, but the idea of placing controls not visible to the user at form's start gives me the creeps.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform