Hi,
I have a button Action event that embeds n number of ContainerControls within another ContainerControl.
I want to raise an event when all of the ContainerControls are finished loaded on the page.
Javascript? Xojo events? Any suggestions?
Hi,
I have a button Action event that embeds n number of ContainerControls within another ContainerControl.
I want to raise an event when all of the ContainerControls are finished loaded on the page.
Javascript? Xojo events? Any suggestions?
you could use Shown Events and have a flag on all containers to monitor which one is visible.
When the last one gives a Shown event, all are complete.
Thanks!
As I have an array (Cells) to keep track of all embedded containers I could simply put this in the child container’s Shown event:
CellCounter = CellCounter + 1 ' Counter on parent container
If CellCounter = Cells.Ubound Then RaiseEvent ContentShown