>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only