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.
 

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