Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Scrollable Forms, LTD.
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Scrollable Forms, LTD.
Divers
Thread ID:
00204535
Message ID:
00204535
Vues:
64
It was like a dream come true! I've been trying for a while to make a portion of a form scrollable, using a large container and up/down command buttons and Up/Dn arrow keys on Form.KeyPress()which, when clicked / pressed moved all the controls within the large container up or down. Pretty slow! Then I discovered the ViewPort concept with the Form.SetViewPort(nleft, ntop) method. So I got rid of the large container and reinstantiated all the objects in the scrollable form. Works like a dream, if.. the bottom coordinate of the 'bottommost' object exceeded a certain value (which is 2 * screen dimension, i.e. if the resolution is 800 x 600 and the bottom of the control is at 1201 or lower) the scroll bars disappear, although the Form.ScrollBars property returns the initial value as if the scrollbars were there !?!
I understand that the forms were made scrollable in VFP6 to permit the hosting and functionality of ActiveDocuments, but why would there be a limitation, or is it?
Any comments, suggestions of workarounds greatly appreciated.
TIA
Répondre
Fil
Voir

Click here to load this message in the networking platform