General information
Category:
Coding, syntax & commands
Title:
Toolbar, removing container
Environment versions
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
Next
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