How do I get textbox control to recieve the focus by a click the mouse on the control/textbox? have use setFocus in the on Exit function of the textbox. Each time I press the enter key, the cursor goes to the next box.......this is good. Now when ever I want to click back into the very box from which it came from, it doesn't. It continue executing the setfocus I have in each textbox "on exit function". How can I get to have my cursor click anywhere I want to.
Here is the code I have in the On-exit function in each textbox.
Private Sub txt11MfgID_Exit(Cancel As Integer)
txt11MfgID = Format(txt11MfgID, "000000000")
'Set focus of mouse to next input field
txt11BrandID.SetFocus
End Sub
Here is the code I have in the On-exit function in each textbox.
Private Sub txt11MfgID_Exit(Cancel As Integer)
txt11MfgID = Format(txt11MfgID, "000000000")
'Set focus of mouse to next input field
txt11BrandID.SetFocus
End Sub