• 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: Hiding NSImageView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Hiding NSImageView


  • Subject: Re: Hiding NSImageView
  • From: "Mark Munz" <email@hidden>
  • Date: Sun, 1 Jun 2008 15:55:37 -0700

Careful - tabless NSTabViews are a much bigger pain to traverse under
IB3 (a step backwards from IB2).

There are several simple approaches to help resolve this issue.

Call [btn setHidden:YES]; to hide the view  (10.3 or later). If you're
looking to just change the btn size, you can call setFrameSize:  or if
you're just changing the image,  you can call setImage: on the
NSImageView to change the images being displayed.

Mark Munz

On 6/1/08, Hamish Allan <email@hidden> wrote:
> On Sun, Jun 1, 2008 at 11:07 PM, Damien Cooke
>  <email@hidden> wrote:
>
>  > finding any other way of hiding them is eluding me.
>
>
> NSImageView derives from NSView, which has a "hidden" property. But
>  you might find a tabless NSTabView easier: programmatically switching
>  between two tabs, one for each mode.
>
>
>  Hamish
>
> _______________________________________________
>
>  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
>


--
Mark Munz
unmarked software
http://www.unmarked.com/
_______________________________________________

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: Hiding NSImageView
      • From: Damien Cooke <email@hidden>
References: 
 >Hiding NSImageView (From: Damien Cooke <email@hidden>)
 >Re: Hiding NSImageView (From: "Hamish Allan" <email@hidden>)

  • Prev by Date: Re: Cocoa Programming for Mac OS X 3rd ed Shipping?
  • Next by Date: NSArray
  • Previous by thread: Re: Hiding NSImageView
  • Next by thread: Re: Hiding NSImageView
  • Index(es):
    • Date
    • Thread