If this is your first visit, be sure to check out the FAQ by clicking the link above.
You may have to register before you can post: click the register link above to proceed.
To start viewing messages, select the forum that you want to visit from the selection below.
Originally posted by djohnson: Ok, I have been searching for a bit and I need to know how to select a NSTextField cell.... Anyone know off the top of their head?
So when you say an "NSTextField cell", do you mean an NSTextField or an NSCell? Or something else?
And when you say "select" do you mean to start editing programatically, or allow the user to tab to it? Or something else?
Ok lets see if this makes more sense. After a user presses ok in a window, I need it to select a specific NSTextField. It will then place the cursor in that field.
Originally posted by djohnson: Ok lets see if this makes more sense. After a user presses ok in a window, I need it to select a specific NSTextField. It will then place the cursor in that field.
I know I'm bringing up an old thread here, but I have an answer: What you are looking for is the NSView method -makeFirstResponder:(NSResponder *)