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
From
15/04/2002 08:57:30
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00644956
Message ID:
00644975
Views:
14
>Hi,
>
>I'm currently wondering, if there is a way for a control to find out, if it is added dynamically during or after a form's init event is executed.
>
>Ok, I could add a flag property to the form and set it to .T. after the Init of the form has been run, but I would like to keep that independent from any form properties.
>
>Does anybody see a way how to find this out?
>
>Regards,
>Armin

*Control.init
program(program(-1)-1)

would return formname.init if instantiated from form.init
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform