Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
RemoveObject in Init
Message
From
28/02/2001 15:52:38
Gerry Schmitz
GHS Automation Inc.
Calgary, Alberta, Canada
 
 
To
28/02/2001 08:02:05
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00480229
Message ID:
00480704
Views:
9
>The objects are removed because they can't be exposed if the user (which can be another application) does not have sufficient rights to these objects. Making them invisible would allow the user to find them with AMEMBERS().

Can you not test for the proper "exposure conditions" in the object's .Init() event and simply return .F. if a given object should not be instantiated ?

The Forms .Load() could do some preliminaries if need be. Other than that, the Form then does not have to be aware of which (specific) Controls need to be subsequently destroyed.
Previous
Reply
Map
View

Click here to load this message in the networking platform