Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Find out, if control is added during form's init or late
Message
 
À
15/04/2002 16:21:24
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00644956
Message ID:
00645329
Vues:
14
Thanks, Dragan. I will check this and let you know if it works!

Armin

>
oRef=eval("this.parent."+this.name)
>if type("oRef.name")...
>   if oRef.name=this.name
>I think the parent would see it under its proper name if it was added at design time, but won't if it's still not done with its .init, and would only then assign it a name (or would never do so, if .init returns .f.).
>If this works, it may be easier than (re)cursing the call stack.

Armin Neudert
Regional Director (Stuttgart) of German FoxPro User Group dFPUG

MCP for Visual FoxPro

Expert/Editor of the VFP section in the German Codezone community portal
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform