Re: NSTextField Selected Text
Re: NSTextField Selected Text
- Subject: Re: NSTextField Selected Text
- From: Richard Somers <email@hidden>
- Date: Fri, 30 Mar 2012 16:21:45 -0600
On Mar 30, 2012, at 3:22 PM, Richard Somers wrote:
> When tabbing into a text field containing text, the text is selected. When clicking into a text field containing text, the I-beam cursor indicates the insertion point.
>
> How can I make clicking into text field containing text, initially select all the text just like tabbing does?
Just found an answer to my question on stack overflow. I previously did a search of the web and the documentation and came up with nothing. But I tried it again and found this.
http://stackoverflow.com/questions/2195704/selecttext-of-nstextfield-on-focus
--Richard
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden