Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is it possible to manage controls init processes?
Message
De
17/02/2006 17:50:56
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
17/02/2006 07:01:01
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Divers
Thread ID:
01096110
Message ID:
01097224
Vues:
13
>try setting tab order so your custom object has the lowest order (for example 1.)

Tab order has nothing to do with the order of instantiation, i.e. these two are completely independent. They coincide if and only if zOrder and tab order are not touched during editing.

The instantiation order can be manipulated by setting the z-order in editing, but that also means that it can be changed later when everyone forgot that this particular form depends on it. It's unreliable, therefore, and so it's much wiser to write code so that it doesn't depend on the instantiation order.

Form's .init is the place where we can manipulate objects already on the form, and add some more if we really want to. The objects we may need in advance can be added in form's load, or even better, be members of the form's 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