>I've tried unsussessfully to utilize a tool-bar with a top level form. Here's what happens. I set the form to a top level form, the tool-bar to in top level form, and added this code to the forms init event:
> SET CLASSLIB TO vtools
> oObj = CREATEOBJECT("tlevel_bar")
> oObj.Visible = .T.
> oObj.Docked = .T.
>When I run the top-level form, you briefly see the tool-bar in it for about a second and then I get this error message...
> Property docked is read only
>Can anyone help me out with this, thanks in advance.
this.tbmain=createobject("tbmain")
WITH this.tbmain
.dock(0)
.visible=.t.
ENDWITH
Edward Pikman
Independent Consultant