FROM : James Walker
DATE : Fri Jun 06 19:54:50 2008
I have a dialog containing an NSTextField and an OK button. I'd like
the Enter key to act as an equivalent for the OK button, but the Return
key to add a line break to the text. What's the best way to do that?
--
James W. Walker, Innoventive Software LLC
<http://www.frameforge3d.com/>
DATE : Fri Jun 06 19:54:50 2008
I have a dialog containing an NSTextField and an OK button. I'd like
the Enter key to act as an equivalent for the OK button, but the Return
key to add a line break to the text. What's the best way to do that?
--
James W. Walker, Innoventive Software LLC
<http://www.frameforge3d.com/>
| Related mails | Author | Date |
|---|---|---|
| James Walker | Jun 6, 19:54 | |
| Andrew Merenbach | Jun 6, 20:19 | |
| Douglas Davidson | Jun 6, 21:26 | |
| Ken Thomases | Jun 6, 21:27 | |
| Andrew Merenbach | Jun 6, 21:29 | |
| Clark Cox | Jun 6, 21:40 | |
| Andrew Merenbach | Jun 6, 21:47 | |
| James Walker | Jun 6, 21:56 | |
| Jim Correia | Jun 7, 03:14 |






Cocoa mail archive

