I am trying to find the code to move the focus to a text box in a "Settings" tab on a form "tabSettings".
no such luck at this stage
can select a textbox on the 1st page (1/2) but not the second?Code:If txtFromName.Text <> "" AndAlso txtMailTo.Text <> "" AndAlso txtSmtpServer.Text <> "" Then Me.chkLaunch.Visible = True Me.alarmtime1 = Date.Now.AddSeconds(10) Me.Timer1.Start() Else MsgBox("Please update settings to continue") Me.tabSettings.Select() Me.txtUserName.Select() Me.txtFromName.Focus() End If
wonder if anyone can point me in the right direction?
cheers




Reply With Quote