Reputation: 3441
Example, Done is not active by enter
Thanks a lot!
Upvotes: 1
Views: 122
Reputation: 4771
If you are using interface builder, you can create an outlet for the "Done" button and use [myButton highlight:YES]
.
See here, under the "highlight:" method, for doc reference
EDIT: To make the button respond to the "return" key, you can use [myButton setKeyEquivalent:@"\r"]
.
Upvotes: 3