Information générale
Catégorie:
Codage, syntaxe et commandes
Titre:
Toolbar, removing container
Versions des environnements
OS:
Windows Server 2012 R2
Network:
Windows Server 2012 R2
Virtual environment:
VMWare
Hi all,
Just working with my first toolbar. Having trouble with this:
- toolbar contains containers
- each container contains 2 command buttons
- 1 command button is supposed to remove the container from the toolbar
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
Any ideas?
Albert
Suivant
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