General information
Category:
Forms & Form designer
It is keeping track of the number of instances of a toolbar. The form calls the application class which instantiates the toolbar and store the value of 1 to a property in the application class. Next time I use a form using the same toolbar it calls the application class see that the counter is greater than 1 so need to instantiate and increments the counter to 2. Then in the unload of the form it calls a method in application class which release the toolbar if the counter is equal to zero otherwise it stays. In each of the click event it calls methods in the form such as _screen.active.movenext(). I just need some way to keep track of move than one toolbar.
Previous
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