>>I created a toolbar class. I then want to place this toolbar on an existing form. I can do that but it doesn't stay. When I run the form it's not there. When I open the form the next time, the toolbar is gone. What do I need to do?
>
>Here's a post to someone else, the general idea is something like this. Not quite sure what your problem is, but you need something like this in the top-level Activate...do you have code similar to this?
>
>
>if type('this.toptoolbar') != 'O'
> set classlib to toolclass
> this.toptoolbar = createobject('toptoolbar')
> release classlib toolclass
> endif
>
>In toolbar init:
>
>this.show
>this.dock(0)
>
I have the code you suggested in the toolbar init but I don't understand what I should put in the form activate. What is the first line doing?
if type('this.toptoolbar') != 'O'
Now I have about 5 toolbars behind my form. I don't understand what happens with toolbars. Also, I can't remove them.
Thanks for the help.