Try
_Screen.AddProperty("oToolbar")
_Screen.oToolbar = NEWOBJECT("mytoolbar", "mylib")
_Screen.oToolbar.Dock(0)
_Screen.oToolbar.Visible = .T.
>Some years ago I have created a toolbar and docked it into the main
>screen of my application using VFP 6.
>Now, with VFP 9 SP2 I can create the toolbar (class) but I can't
>remember how to attach/dock it to the main screen.
>
>UPDATE: I found my old code and done it in the old way. I still want to know
>how to do it with the toolbar class.
>
>Thanks in advance.
--sb--