Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Resizing Forms
Message
 
À
01/08/2000 12:23:30
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00399196
Message ID:
00399485
Vues:
13
Hi John:

In the INIT method of the control baseclass, the control registers itself with the resize class. The resize class stores the controls inital placement settings (top, left etc.) in an array. When the resize event fires, it loops through the array resizing each control with respect to the change in form dimensions. This is basically how it works. I take it one step further by sending parms to the resize class which determine what placement settings get resized and if it is resized portionately to the form or the same amount as the form. This way you can customize how each control resizes or just go with default in parent class.

Developing this thing was actually kind of fun.

Charlie
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform