Re: NSTextField to be selected
Re: NSTextField to be selected
- Subject: Re: NSTextField to be selected
- From: "Sean Liong" <email@hidden>
- Date: Thu, 30 Oct 2003 10:53:40 +0000
Hi,
Actually the use of selectText: & display is good enough to select/highlite
the NSTextField. Just that I need to be very clear when & where is the right
place to place the functions. But is joar's comment somehow kick me into
thinking the alternative way.
Thanks,
sean
From: j o a r <email@hidden>
To: "Sean Liong" <email@hidden>
CC: email@hidden
Subject: Re: NSTextField to be selected
Date: Thu, 30 Oct 2003 09:11:48 +0100
On 2003-10-30, at 08.29, Sean Liong wrote:
Any hints or advices from all the experts for the below questions?
Experts? That would be me! ;)
Try:
[myWindow makeFirstResponder: myTextField];
You should probably also make sure that the text fields in question is the
"initial first responder" for the window. This can be done both in IB and
in code.
j o a r
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_________________________________________________________________
Using a handphone prepaid card? Reload your credit online!
http://www.msn.com.my/reloadredir/default.asp
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.