Selecting a control

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello

I'm sure this is very simple, but here goes

How can I cause the cursor to be in a specific control

I want to send the cursor to a textbot named "Drawing Number", so that the user doesn't have to use their mouse at all. The event will switch to the text box and all they have to do is enter data

Thank yo

Daniel
 
Daniel said:
How can I cause the cursor to be in a specific control.

I want to send the cursor to a textbot named "Drawing Number", so that the user doesn't have to use their mouse at all. The event will switch to the text box and all they have to do is enter data.


You would use the SetFocus method:

Me.[Drawing Number].SetFocus

When and where you would use that depends on what you have
going on. (In some other control's AfterUpdate event??)
 
Back
Top