Tabbing to next field after Return key

  • Thread starter Thread starter TheNortonZ
  • Start date Start date
T

TheNortonZ

I have an edit field where I capture the keydown event. I can check to see
if the return key is selected.

What I want to do is tab to the next field (based on tab index) when the
enter key is pressed. What is the syntax for doing this?

Thanks.

STom
 
myField.FindForm().SelectNextControl(myField, true, true,
true, 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