Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why don't ...
Message
De
27/04/1999 16:27:32
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Titre:
Divers
Thread ID:
00212631
Message ID:
00212729
Vues:
27
Hi Steven

>Rather than modifiy all my controls, I have a method in my application class that is called by the form. The method loops through all the controls on the form and resizes them based on the new size of the form.

I think what Mark is lamenting, is the fact that, doing good OOP, an object should control it's own behavior. Perhaps....hmmm.....

Hey, Mark and Steven, what about if you run your app as a top-level form, you could tie an Assign (VFP6) to Left, Top, and the other dimensional properties in both the forms and in the controls so that each object modified it's own behavior?
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform