ox = NewObject("myForm") ox.Show(1) Define Class myForm as Form Dimension cmd[2] Add Object cmd[1] as Textbox Add Object cmd[2] as Commandbutton with Left = 100 EndDefineThere's a lot of fun with these guys. For instance, these controls have all the same value in Name.