Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Control init fail, class init fail
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00428995
Message ID:
00429009
Vues:
15
>>Make property in container, for example, lError. In the Init of control, if it fails, set this property to .T. In the Init of container check this property, if it is .T. - one of the controls inside failed.

>Your method is better.
>I thought you couldn't get the properties of a parent container when the inside objects where initializing.

Yes, you're right, you can access parent object. Objects tree is complete for entire form when Init events of controls called.
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform