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??)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top