• 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: selectText of NSTextField on focus
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: selectText of NSTextField on focus


  • Subject: Re: selectText of NSTextField on focus
  • From: Quincey Morris <email@hidden>
  • Date: Mon, 06 Jul 2015 23:41:31 +0000

On Jul 6, 2015, at 16:16 , Richard Charles <email@hidden> wrote:
>
> Finder does something similar when renaming files and folders. The first click selects the file or folder. The next click selects the name of the file or folder ready for replacement. The third click will place the insertion point somewhere within the text field ready for fine grain editing of the file or folder name.

In general, if the text field doesn’t look editable until you “click to edit” (click #2 in the above, because I assume you don’t have click #1 at all in your app), then I think it’s fine for it to do a select all (or select something-predefined-like-Finder-does), because there’s no expectation from the appearance of the text that you might start with a drag-to-select-and-begin editing.

In your case, where the “click to edit” behavior is already expected by users, I don’t see a big problem in what you’re proposing, though I think the *classy* solution would be to have a subtle difference in appearance in the text field when a click is needed to start editing, even if it flies under the perceptual radar of experienced users.



_______________________________________________

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


References: 
 >selectText of NSTextField on focus (From: Richard Charles <email@hidden>)
 >Re: selectText of NSTextField on focus (From: Quincey Morris <email@hidden>)
 >Re: selectText of NSTextField on focus (From: Richard Charles <email@hidden>)

  • Prev by Date: Re: Swift Enums and CoreData
  • Next by Date: Re: selectText of NSTextField on focus
  • Previous by thread: Re: selectText of NSTextField on focus
  • Next by thread: Re: selectText of NSTextField on focus
  • Index(es):
    • Date
    • Thread