• 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: The right way to hide warning icons (controls)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: The right way to hide warning icons (controls)


  • Subject: Re: The right way to hide warning icons (controls)
  • From: Matt Gemmell <email@hidden>
  • Date: Thu, 31 Jul 2003 19:36:28 +0100

On 31/7/03 at 6:29 pm, Andrew O. Mellinger said:

> I've have a little warning icon that appears next to w textfield when
> the user doesn't have valid information entered, and I'd like to
> show/hide that as they get the correct info.

Obligatory mention of NSFormatters goes here, just in case. :)

> What is the "right" way to do this in Cocoa? Move offscreen? Change
> the image? (I'm using an NSImageView.) I tried the use a toggle
> button, but I couldn't disable it without making my icon grey.

I'd just set its image to nil.


Cheers,
-Matt

--
Matt Gemmell
Irate Scotsman
http://www.scotlandsoftware.com/blog/
_______________________________________________
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.

References: 
 >The right way to hide warning icons (controls) (From: "Andrew O. Mellinger" <email@hidden>)

  • Prev by Date: table with non-textual cells
  • Next by Date: Re: table with non-textual cells
  • Previous by thread: Re: The right way to hide warning icons (controls)
  • Next by thread: table with non-textual cells
  • Index(es):
    • Date
    • Thread