Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Order of object creating for a form
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00231124
Message ID:
00231464
Vues:
15
>I don't think so Paul. That was the first thing that came to my mind also but it doesn't work that way. Maybe this have been change in VFP6 (I'm using VFP5 due to stability problems with VFP6 which is another story). Thanks.
Hi,
VFP determines the order to fire the Init methods(and other event processing) by the ZORDER property. This is the property is only affected by "Bring to Front" and "Send to Back" options in the designers. For the Init event, you are only assured that contained objects will fire their Init events before their containers (from inside to outside in container heirarchy). Although ZORDER controls the order of instantiation among objects that are at the same level in the containership heirarchy, it is not safe to rely on this order, it is too easy to disturb. Jim Booth's solutions are preferable to relying on this feature of VFP.

Ned
Ned

Reality is.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform