MATLAB Answers

Inputdlg respond to enter?

10 views (last 30 days)
Johan
Johan on 27 Jun 2011
Answered: only VB on 21 Mar 2014
Hi! Is it possible for the inputdlg box to respond to the enter button instead of clicking at the ok button? BR Johan

  0 Comments

Sign in to comment.

Accepted Answer

Oleg Komarov
Oleg Komarov on 27 Jun 2011
You can modify inputdlg so that the focus is automatically set on the enter button otherwise you have to push tab before enter.

  5 Comments

Show 2 older comments
Johan
Johan on 27 Jun 2011
Thank you:)
Johan
Johan on 27 Jun 2011
Do you know if it's possible to use this functio when you've converted the m file to an exe file?
Oleg Komarov
Oleg Komarov on 27 Jun 2011
Never converted into exe.

Sign in to comment.

More Answers (1)

only VB
only VB on 21 Mar 2014
Hollo, could you tell me where define the function 'doControlKeyPress'?

  0 Comments

Sign in to comment.

Tags

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by