Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Changing Order or Control initialization in a form
Message
De
03/12/2001 22:02:09
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
 
À
03/12/2001 00:43:24
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00588590
Message ID:
00589050
Vues:
31
>Is there any way to change the order in which controls are initialized during a form initialization. I mainly want my action buttons to be initialized always last, but so far can't find an easy way to do this. Any suggestions are greatly appreciated.

You can use my TabOrderToInstantiationOrder builder (just click on my name, then contributions), but I'd rather repeat what I said there: relying on instantiation order is not a healthy practice. If you need to rely on that, you'd better rethink your design. Proper encapsulation requires that all controls should at least instantiate independently.

Besides, I'm not sure if this would help if the buttons were part of the form class and the other controls were not; I think the objects inherited from the parent class would instantiate first anyway, and it's very likely your buttons come from a parent class.

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