sgood3
asked on
How do I take action based on the user pressing 'enter' from within a Matlab text box?
I would like users to be able to enter stuff in a TextBox and hit enter, and have action taken - BUT - matlab's TextBox_Callback is called on either hitting enter OR changing focus. I can't see any way of verifying that they really pressed enter, rather than just clicking outside of the TextBox. Is there any way to either take action when they hit enter (and ONLY when they hit enter) or to find the value of the last key pressed when focus was in the TextBox?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER