PUBLIC o o = CREATEOBJECT('_Form') o.Show() DEFINE CLASS _Form AS Form AutoCenter = .T. Height = 140 Width = 280 ADD OBJECT eb1 AS Editbox WITH ; Top = 5, ; Left = 10, ; Height = 21, ; ScrollBars = 0 ADD OBJECT eb2 AS Editbox WITH ; Top = 45, ; Left = 10, ; Height = 42, ; ScrollBars = 0 ENDDEFINEOn eb1, ENTER validate control and skip to next control.