Tab Stop - Code to Disable/Enable Upon Request

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

Guest

Is there a way to have a push-button on the form to be able to assign tab
stops "ON" to various fields, so I can turn them on and off by pushing the
button? Or do I have have to go into properties every time?

Thanks!
 
Assuming you want to turn off the tab stop on a control named txtComment,
you can put code like:

Me.txtComment.TabStop = False

To turn it back on, you'd use

Me.txtComment.TabStop = True
 

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