Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Toolbar, removing container
Message
De
30/10/2017 14:38:54
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
30/10/2017 13:09:44
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012 R2
Network:
Windows Server 2012 R2
Database:
Visual FoxPro
Application:
Desktop
Virtual environment:
VMWare
Divers
Thread ID:
01655282
Message ID:
01655286
Vues:
37
>I can "sort of" remove the container with a call from the command button's click like:
>
>THIS.PARENT.PARENT.RemoveObject(THIS.PARENT.Name)
>
>- that is, fire the .RemoveObject() method of the toolbar to remove the container
>
>- the container does indeed disappear from the toolbar but it is still in the toolbars .Objects() collection
>
>I suspect that the reason I cannot get rid of it entirely is because I am trying to destroy the container from a call from within the container

You can't get rid of a reference to an object which was defined at the class level. However, that reference may become null - check in the debugger.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform