Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
RemoveObject does it at will
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00871699
Message ID:
00872198
Vues:
21
>Kamil,
>
>Is the container a class where these 3 internal objects are defined?

- Yes. And i assume the following is true only for objects based on a predefined class.

>If so you'll see this "pseudo" removal. You can't actually remove the object from the "definition" of the class in memory and that is where VFP is getting the information it is displaying in your vartype() output.
>
>But the object is really removed from the runtime instance. As is illustrated by trying:
>
>? type( "this.command3.caption" )

- indeed

>If you want to have vartype() return different results after RemoveObject() you can use runtime composition using AddObject() to add the controls.

- So if add an object at runtime i can fully remove it, i see.

Thank you.
Kamil
A moment of silence is our cosmic reset button.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform