Should move to next control with return-key AND tab-key . HHow ?

  • Thread starter Thread starter Peter Stojkovic
  • Start date Start date
P

Peter Stojkovic

I need a idea how to program the following.


I have a control inherited from textbox.

The differnce should be, that the cursor will move to the next control ,
when the user presses the TAB key or the RETURN key.

How can that be down ??


Thanks
Peter
 
Peter said:
I need a idea how to program the following.


I have a control inherited from textbox.

The differnce should be, that the cursor will move to the next control ,
when the user presses the TAB key or the RETURN key.

How can that be down ??


Thanks
Peter

For the TAB key, use tabstops.
For the ENTER key, add a button to the form that tabs to the next
control. Make it the form's Accept button.

B.
 
Back
Top