Perfect.
Done at first try.
Many thanks.
>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.
***
TONY Nascimento
*****************
"Your mind is like a parachute. It only works if it is open" - Anthony J. D'Angelo
"The desire to know is natural to good men" - Leonardo da Vinci