Mark,
Don't use DEFINE WINDOW, do this instead:
x = createobject( "Form" )
x.Visible = .t.
x.AddObject( "cmdTest", "CommandButton" )
with x.cmdTest
.Top = 100
.Left = 100
.Visible = .t.
endwith
When you AddObject() something to a form it's Visible is set to .f. so you can manipulate it before making it show on the form.
>I used the command 'Define Window' to create an about screen.
>
>I was wondering if there was a way to addobjects or createobjects
>on this window?
>
>I tryed to use createobject to create a command button but it would not display at all.