Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Find out, if control is added during form's init or late
Message
 
To
15/04/2002 16:21:24
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00644956
Message ID:
00645329
Views:
13
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform