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...
 
Back
Top