Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Opinion: Who Should Move a Control
Message
De
19/07/1999 09:06:58
 
 
À
16/07/1999 16:47:11
Timothy Enright
Coos Bay Public Schools
Coos Bay, Oregon, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00242574
Message ID:
00243043
Vues:
31
I would put code in the refresh of each controlto adjust the size to the current form size.

Peter


>Which is the most commonly accepted method:
>
>I want a form/container that will resize and I want the controls within the form to respond to the resize event. My question is - what object should perform the move on the controls.
>
>The form has just been resized:
>
>1. Should the form inspect each of the objects and change their coordinates according to it's requirement.
>
>2. Should the form notify each of the objects that is has been resized and let the object inspect the form's requirements and change their own coordinates.
>
>In my opinion #1 is most effective method, but then I fairly new to OOP and this is why I am asking...
>
>...tim
Peter Cortiel
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform