Re: Highlighting a text field...
Re: Highlighting a text field...
- Subject: Re: Highlighting a text field...
- From: Roland Torres <email@hidden>
- Date: Wed, 11 Jan 2006 17:23:21 -0800
On Jan 11, 2006, at 5:04 PM, email@hidden wrote:
This is probably really easy but I can't figure it out.
I have a form with lots of text fields and when the app is started
the first text field is selected for text entry. How do I get a
different
field to be selected i.e. the last text field so I can type in it
first?
You want to change the "first responder". Do this either in Interface
Builder,
or you can do it programmatically from the window that owns the text
field:
- (BOOL)makeFirstResponder:(NSResponder *)aResponder
...where "aResponder" is the text field you'd like to be highlighted.
Roland
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden