• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: [Q] How can one programatically begin a text editing session in a NSTextField?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Q] How can one programatically begin a text editing session in a NSTextField?


  • Subject: Re: [Q] How can one programatically begin a text editing session in a NSTextField?
  • From: Eric Gorr <email@hidden>
  • Date: Thu, 5 Feb 2009 11:33:18 -0500


On Feb 5, 2009, at 11:23 AM, Andy Lee wrote:

On Feb 5, 2009, at 10:54 AM, Eric Gorr wrote:
For example, NSTextField does not respond to the setSelectedRange
message.

[myTextField selectText:nil];

Thanks. Unfortunately, that is not quite the desired behavior as it causes all of the text to be selected and I want to see the blinking cursor. It did begin a text editing session though, so it is quite close.
_______________________________________________


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


  • Follow-Ups:
    • Re: [Q] How can one programatically begin a text editing session in a NSTextField?
      • From: Andy Lee <email@hidden>
  • Prev by Date: Re: [Q] How can one programatically begin a text editing session in a NSTextField?
  • Next by Date: Re: Anyone using IKImageView/any alternatives ?
  • Previous by thread: Re: [Q] How can one programatically begin a text editing session in a NSTextField?
  • Next by thread: Re: [Q] How can one programatically begin a text editing session in a NSTextField?
  • Index(es):
    • Date
    • Thread