Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Painted into a corner? - scrolling, growing form
Message
De
22/09/2005 16:27:33
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Painted into a corner? - scrolling, growing form
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01052180
Message ID:
01052180
Vues:
50
Hi Everyone,

Wonder if I have painted myself in a corner. Have created a "scrolling, growing" "dialog" (form) to present users with series of questions (did this instead of a "wizard" approach of numerous mini-forms). As they answer one question, another set of controls is instantiated onto the form for them to ask. Start off with form set to something like 300 H x 500 w. Once I get more controls than will fit on the form, I increase the size of the form programmatically.

I have to do that or the new controls do not show on the form. When I do that, with vertical scrollbar set on, I get a scrollbar.

Works good at first but after a few questions, form grows to be off the bottom of the screen. So then I thought I have to limit the size of the form to some max. But then my controls do not show.

So how do I get the "paintable" area of the form to grow without growing the entire window that the form is in. Or how do I keep the form growing and yet only a certain portion of the form shows on the screen.

I looked at the SETVIEWPORT method but was not sure what it does.

Albert
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform