Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Big Forms
Message
De
11/10/2000 18:26:20
 
 
À
11/10/2000 17:55:51
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00428120
Message ID:
00428201
Vues:
28
>Could you elobrate?
>
>(sorry, I a little new at this)

Sure - hey, we all gotta start somewhere <g>

Let's say you have 100 controls all on one form.
This gets pretty unwieldy and may make the form bigger than the screen, making it even more unwieldy.
Most of the controls can be logically grouped together - just look at the Windows Display Properties dialog to see what I mean. Each page has items that logically go together.

So, to make the form less unwieldly
1) decide what your logical field groupings are - this will give you the number of groups
2) create a dummy form to use as a work space for the next steps, I've found that to be much easier that working in the same form. now you'll have 2 form designers open
3) on the dummy form, add a pageframe
4) set the new pageframe's PageCount property to the number of groups from (1) above
5) give each page a caption indicating the group
6) move the controls from the form to the appropriate page for their group.
7) you should now have moved all the controls from the original form to the pages on the pageframe on the dummy form, so there's nothing left on the original form. copy or move the pageframe from the dummy form back to the original form.
8) resize the original form to fit the pageframe. you should have gained a lot of screen real-estate.

HTH
Insanity: Doing the same thing over and over and expecting different results.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform