Autoexit of textbox

  • Thread starter Thread starter Arne Garvander
  • Start date Start date
A

Arne Garvander

I would like to create an autoexit of a textbox when the number of character
entered is equal to the maximum length.
Is there a way I can programmatically add a Tab key into my own form?
The next field that I need to goto may or may not be a readonly field,
depending what kind of transaction the person tries to enter.
 
You could use a masked textbox instead. It has a property you can set to
make it autotab after the user has hit filled the field.

RobinS.
GoldMail, Inc.
 
You could try the Control.GetNextControl method to find out what the next
control in the tab order is and then set focus to that.

/claes
 
Also, there is SendKeys.Send method to send key strokes directly as per
coding logic...
 

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