>>>>I cant seem to get the toolbar.docked property to work.
>>>>How (and/or where) do I use the docked=.T. statement so
>>>>my PRG starts with the toolbar docked at the top?
>>>>
>>>>Do I declare the docked property at the object creation:
>>>>
>>>>PUBLIC oToolBr
>>>>oToolBr = CREATEOBJ('mytoolbar')
>>>>oToolBr.docked=.T. <---- here? (but it didn't work)
>>>>oToolBr.SHOW
>>>>
>>>>DEFINE CLASS myToolBar AS Toolbar
>>>> blah,blah,blah...
>>>>ENDDEFINE
>>>>
>>>>....or do I define it inside the CLASS
>>>>definition? If inside, what is the syntax?
>>>>
>>>>Thanx for any help!
>>>>John
>>>
>>>Did you try the dock(0) method?
>>
>>you have to do this in your program -- you can't make this the default!
>
>Yes, but thus far I haven't found another way to top-dock a toolbar on entry. Is there another way that works?
I should add an example that works:
otools = createobject('tools1')
otools.show
otools.dock(2)
define class tools1 as toolbar
add object etc as commandbutton with caption = '1111111', left=1
enddefine
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.