• 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: Disabled, auto-disappearing placeholder in search field like Safari, Console.app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Disabled, auto-disappearing placeholder in search field like Safari, Console.app


  • Subject: Re: Disabled, auto-disappearing placeholder in search field like Safari, Console.app
  • From: Jerry Krinock <email@hidden>
  • Date: Tue, 24 Feb 2009 09:26:49 -0800


On 2009 Feb 24, at 03:57, Andrew Farmer wrote:

This is placeholder text. You can set it with the "placeholder" field on text input fields, or programatically using the setPlaceholderString on a NSTextFieldCell.

Thank you, Andrew. Yes, that gives the behavior that I want.

And it takes less code than setting the binding option, which gives the weird behavior that, I believe, nobody would want.


_______________________________________________

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: 
 >Disabled, auto-disappearing placeholder in search field like Safari, Console.app (From: Jerry Krinock <email@hidden>)
 >Re: Disabled, auto-disappearing placeholder in search field like Safari, Console.app (From: Andrew Farmer <email@hidden>)

  • Prev by Date: Re: simple memory management question
  • Next by Date: Re: [Q] What causes an NSArrayController to know that an entity was inserted via a different window?
  • Previous by thread: Re: Disabled, auto-disappearing placeholder in search field like Safari, Console.app
  • Next by thread: Adding text to NSImage using lockFocus/unlockFocus not working
  • Index(es):
    • Date
    • Thread