Hi James -
Does this test work for you in the command window?:
oForm1 = CREATEOBJECT('Form')
oForm2 = CREATEOBJECT('Form')
oForm1.Height = _screen.Height
STORE 1 TO oForm1.Dockable, oForm2.Dockable
oForm1.Dock(4,oForm2)
oForm1.Dock(0)
hth
-Stefan
>Hi all
>
>I have been trying to get some forms do dock in a window full screen with tabs on the bottom showing the caption. I can do this with a mouse but I can't seem to make it work in a program.
>
>dock(3,oform) splits the parent form in half.
>
>Parent form properties
>dockable = 1
>showwindow = 0
>MDIform = .f.
>WindowState = 0
>WindowType = 0
>
>child form properties
>dockable = 1
>showwindow = 0
>MDIform = .f.
>WindowState = 0
>WindowType = 0
>
>Thanks for the help.