General information
Category:
Coding, syntax & commands
Yeah your right, I could simply call my toolbar "factory" and ask it to simply instantiate my toolbar class. The reason why I wanted to have the toolbar object in an object's array is that one form could simply pass the toolbars it needed. For sure, several forms share the same toolbar but they do not use all of the buttons on it. So I wanted to put some code in the activate event of the forms that would simply pass a specific toolbar to my application object and activate this toolbar with specific buttons enabled or visible.
When I pass a toolbar object to my app object it works fine. But as soon as the toolbar object passed to the array is released, so it is for the one passed as parameter to my global array. I guess I will try to work it differently.
Thank you for your help,
Christian
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