• 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: NSButton background when pressed is turning white
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSButton background when pressed is turning white


  • Subject: Re: NSButton background when pressed is turning white
  • From: Half Activist <email@hidden>
  • Date: Wed, 4 Jul 2007 13:49:29 +0200

Hi Garth,

This is a problem that happens quite often to me. But i don't think we can consider it a problem actually.
The solution: set the button's behavior to 'Momentary Change' int the Button's Inspector Palette. (if created from ib).


Regards.

On Jul 4, 2007, at 4:16 AM, Garth Humphreys wrote:

Hi,

I'm new to software programming, C and Objective-C. I'm familiar with some of the concepts, but I know I'm a long way away from being an expert at it. None the less, I have a question about NSButtons.

I have created a borderless NSButton, with a icon image insert into it. But whenever I run my application and press the NSButton (with the icon in it), a white box or background is shown. I did a search through the lists, and found where someone asked the same question, but no one seemed to reply. I hoping someone might be able to help me with this.

I also read somewhere else that, I need to subclass NSButtonCell and change the background there. But I don't know how I would do that exactly.

Thanks for your help in advance.

g
_______________________________________________

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:
40gmail.com


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


  • Follow-Ups:
    • Re: NSButton background when pressed is turning white [SOLVED]
      • From: Garth Humphreys <email@hidden>
References: 
 >NSButton background when pressed is turning white (From: Garth Humphreys <email@hidden>)

  • Prev by Date: Re: NSButton background when pressed is turning white
  • Next by Date: How to find the position of an NSCell?
  • Previous by thread: Re: NSButton background when pressed is turning white
  • Next by thread: Re: NSButton background when pressed is turning white [SOLVED]
  • Index(es):
    • Date
    • Thread