>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.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement