>thisform.text1.setfocus && Assigns the focus to a control. >thisform.windowstate=2 && or set at design time >>this works as well
>thisform.windowstate=2 && or set at design time >thisform.text1.setfocus >>the form dont maximize and set the focus to the control !
>form.init >thisform.windowstate=2 && or set at design time > >form.activate >thisform.text1.setfocus >I'd prefer using the Show() method instead of the Activate() method, with the latter, when you change to another form and then return to the form in question the textbox would receive focus, which could be undesirable.