Respond to carriage return in text box [message #1123507] |
Wed, 02 October 2013 12:37  |
Eclipse User |
|
|
|
Folks,
Is it possible with Sapphire to execute a handler when a carriage return is entered in a Property Editor? The behavior I am looking for is having a default button pressed when hitting enter in a text entry box.
I tried adding a listener to the property editor but it seems that it only gets called if there is new non whitespace entered in the text box. I also tried using the @Whitespace annotation but that did not appear to matter with respect to what events were generated.
This appears to be basic functionality that exists in SWT land but I just haven't got the Sapphire way of doing this. Perhaps there is an example of this that I have missed.
Thanks for any suggestions
Paul
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.29384 seconds