Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Object Init Sequence
Message
 
À
22/11/2000 04:15:43
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00444510
Message ID:
00444628
Vues:
11
>Dear all,
>
>How do I change the sequence of the object in a container ? This is because the INIT method of one of by object needs to be fired after some other objects have done theirs. Thanks.
>
>Regards,
>Kueh.

Kueh,

The Init sequence is controlled by teh Z order of the objects. You can use Bring to front and send to back to control the Z order.

However, depending on init sequence is an invitation to problems. Sibling objects should NEVER be aware of each other. Instead use the Init of the common container of those objects to do what you need.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform