Run the following code...
PUBLIC X, Y, Z
x = CREATEOBJECT("form")
x.caption = "Form1"
x.dockable = 1
x.dock(1)
y = CREATEOBJECT("form")
y.caption = "Form2"
y.dockable = 1
y.dock(4, x)
z = CREATEOBJECT("form")
z.caption = "Form3"
z.dockable = 1
z.dock(4, x)
>Hi Craig,
>
>What I was wanting to do was doc several forms on the _screen and have tabs show on the bottom. I have a form called test dockable = 1.
>
>test.dock(0,_screen) does nothing.
>test.dock(0) works
>test2.dock(0) docks below the test form.
>
>Thanks for your help.
>
>
>>Set dockable property of the form to 1, and then call the dock method with the parameters you want... position and form object to dock to. Otherwise you can just drag the dockable form with your mouse and dock it on the top, bottom, left, right, tab dock it with another dockable form, etc.
>>>Hi All
>>>
>>>Is there a way to dock a form in the foxpro _screen? I can't seem to make it work.
>>>
>>>Thanks