>>
>>if type('this.toptoolbar') != 'O'
>> set classlib to toolclass
>> this.toptoolbar = createobject('toptoolbar')
>> release classlib toolclass
>> endif
>>
>
>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'
That's only in case the form is activated more than once, you don't want to run that code again if the toolbar exists. You want it to run the first time when the form opens, usually. Your toolbars have ShowWindow 'In top-level,' don't they? I assumed you had this, but maybe not...
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.