Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to detect that control is added in run-time
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00418065
Message ID:
00418074
Views:
25
>Is there way to detect in control's Init method code that control added in run-time? For example:
>
> procedure Init
> lAddedInRuntype = ????
> if lAddedInRuntype
> ... special actions
> endif
> endproc


Vlad,

If control is a part of container(form) than it'll be instantiated before container is. Maybe you can check somehow for existence of conainer and if container instance exist than it's runtime added control.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform