thisform.newobject("myLabel","label") thisform.newobject("myTextBox","textbox") with thisform.myLabel .Left = 10 .Top = 10 .Caption "Added at runtime" .Autosize = .t. .Visible = .t. endwith with thisform.myTextBox .left = thisform.myLabel.left + thisform.myLabel.width + 5 .top = 10 .visible = .t. endwithCetin