Please, take a look at this code:
FUNCTION Test()
LOCAL oForm, oBottom, oClient
oForm := TForm():Create()
WITH OBJECT oClient := TGroupBox():Create(oForm)
:cText := "Client Control"
:nAlign := alClient
END
WITH OBJECT oBottom := TGroupBox():Create(oForm)
:cText := "Top control"
:nAlign := alBottom
END
oForm:showModal()
RETURN NIL
Why it does not work? The oClient fills the entire client area of oForm and
oBottom does not appear.

I can get it working if I change the creation order but there are situations
where I don't know what object will be created first.
any help?
tks, again and again.