Mike
I did the following in a project. The toolbar was created in the class / new
Create your toolbar as a class and make it so the show in is set to Top
level form. I called it "MyToolbar"
Create your top level form and give it a property "oToolbar"
Set the classlib in form.init to your class library
In activate createobject("thisform.otoolbar","mytoolbar")
It has to be in activate else it will just go to the screen. You may want to
check for type("thisform.otoolbar.tag") <> "C" else it will try to create
the toolbar again
Also you will need thisform.otoolbar.visible = .T.

You can them play with dock etc.
Al

-----Original Message-----



I'm reading the VFP help docs on this, and they're ok but your help is 
appreciated too.  Thanks.  I'll be trying to simple instantiate the "nav 
form" as a top-level form and trying to dock it on top.  Since the 
toolbar is at the same level as the form (since it's in a formset), I'm 
guessing I instantiate the toolbar and lay it over the same LEFT,TOP 
coordinates as the form? (Which, for top docking would be 0,0).  Sound 
right?

-- 



_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/002001ca3541$220aa5f0$661ff1...@com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to