>Hi Folks
> My question is can you put 2 toolbars on a form at 1 time. One located
>at the top of the form, and one located on the left side of the form with
>an mdichild window open at maxamize. I am trying to get a Microsoft Outlook
>type form. Is this possiable. I have tried all different combinations, formset
>form, top level from. in top level form, it will not display the second toolbar.
>Thanks for any help.
John,
You could have many toolbars for a form. If they're specific to this form you could make them show and release with form. Create a custom array property for your form - say oToolbars[2]. In your form.init code :
with this
.oToolBars[1] = NewObject('Tool1ClassName','ToolbarClassLibName')
.oToolBars[2] = NewObject('Tool2ClassName','ToolbarClassLibName')
.oToolBars[1].Show
.oToolBars[1].Dock(0)
.oToolBars[2].Show
.oToolBars[2].Dock(1)
endwith
Cetin