• 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: Damien Cooke <email@hidden>
  • Date: Mon, 2 Jun 2008 09:39:06 +0930

Thanks guys,
What I did was to set the views setHidden property to YES. This is doing exactly what I wanted. Thanks for the assistance.


Regards
Damien

On 02/06/2008, at 8:25 AM, Mark Munz wrote:

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

_______________________________________________

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

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