Re: submit textfield without pressing ener

2008-09-05 Thread Ronnie B
Thanks Tim, [loginWindow makeFirstResponder:nil]; worked for me Ron On Fri, Sep 5, 2008 at 2:44 PM, Tim Isted <[EMAIL PROTECTED]> wrote: > Depending on how you're implementing your login dialog, if you have a > method that is called when the ok button is clicked and you have IBOutlets > for t

Re: submit textfield without pressing ener

2008-09-05 Thread Tim Isted
Depending on how you're implementing your login dialog, if you have a method that is called when the ok button is clicked and you have IBOutlets for the text field or the login dialog itself, in that method you can either: a) call [theTextField commitEditing]; on the text field or b) cal

submit textfield without pressing ener

2008-09-05 Thread Ronnie B
Hi All. I have a login dialog with a text field for password and OK and Cancel buttons. But, unless I hit Enter key, the text field value does not get submitted. What can I do to have it working only with the OK buttons, Thanks, R. ___ Cocoa-dev mail