Hi James,
If you use the Form Framework class you can size it as you want to.
e.g.
Code:
// buttonform.prg
myform = createObject("Form")
myform.caption = "Form"
myform.resize(200,80)
myform.addobject("cont1","container")
cont1.autosize = .T.
cont1.layout = "form"
cont1.addrow("Text","otextbox","textbox")
cont1.addrow("","buttons","container")
buttons.layout = "horizontal"
buttons.addobject("button1","commandbutton")
buttons.minheight = 40
button1.caption = "Click"
myform.show(1)
// end
You can then run the prg (compiled to a .dbo)
Regards,
Yvonne
Bookmarks