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:
00428998
Vues:
13
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.

>I have a custom class based on a container. If one of the controls inside fails to init, I want the whole container not to init. Or maybe do some other action at the container init level. Since the container inits last, is there some way to pass its init event a message that one of its objects failed?
>
>Thanks,
>
>Michelle
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform