Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Resizing forms
Message
De
31/05/2002 23:39:57
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
31/05/2002 10:40:47
Elyse Pomerantz
Dynamic Data Concepts, Inc.
Brooklyn, New York, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00663452
Message ID:
00663767
Vues:
11
>I've downloaded and tried to implement Chris Chinnery's form resizer as written up in FoxTalk. It works beautifully, but I haven't figured out what to do about controls added at runtime. Has anyone worked with this?

Any resizer class has to keep some information about initial size of the objects as they were before resizing. Open the resizer class and look for any method named RegisterObjects, or any method where it checks the .baseclass of the passed parameter (the surest way to find a recursive method). Look at what it does, and then find a way to pass your new objects as parameters. Keep in mind that it may expect the form to be in its not-resized state while you're doing that, because most of the resizers base their calculations on this initial state.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform