• 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: Creating NSButton in Code does not set controlTint to currentControlTint
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Creating NSButton in Code does not set controlTint to currentControlTint


  • Subject: Re: Creating NSButton in Code does not set controlTint to currentControlTint
  • From: Peter Teeson <email@hidden>
  • Date: Mon, 30 Dec 2013 12:48:09 -0500

On 2013-12-28, at 5:03 PM, Peter Teeson <email@hidden> wrote:
> On 2013-12-28, at 11:43 AM, Kyle Sluder <email@hidden> wrote:
>> You can try out my ButtonTester tool to play with these flags in real
>> time: <https://github.com/kylesluder/ButtonTester>
> Wow you are definitely amazing. I had just started working on a project to do just that sort of thing.
> You did it first (and surely better than I would have done.) I tip my hat to you and thanks.
Well I finally got it to work the way I wanted to.
    _Cancel= [[NSButton alloc]initWithFrame:theButtonFrame];
    [_Cancel setTitle:@"Cancel"];
    [_Cancel setButtonType:NSMomentaryPushInButton ];
    [_Cancel setState:NSOffState];
    [_Cancel setBordered:YES];
    [_Cancel setBezelStyle:NSRoundedBezelStyle];
    [theContentView addSubview:_Cancel];
Thanks to all for your patience, kind advice and support.
I wish you a Healthy, Happy, and Prosperous 2014.

respect….

Peter
_______________________________________________

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: 
 >Creating NSButton in Code does not set controlTint to currentControlTint (From: Peter Teeson <email@hidden>)
 >Re: Creating NSButton in Code does not set controlTint to currentControlTint (From: Uli Kusterer <email@hidden>)
 >Re: Creating NSButton in Code does not set controlTint to currentControlTint (From: Peter Teeson <email@hidden>)
 >Re: Creating NSButton in Code does not set controlTint to currentControlTint (From: Uli Kusterer <email@hidden>)
 >Re: Creating NSButton in Code does not set controlTint to currentControlTint (From: Uli Kusterer <email@hidden>)
 >Re: Creating NSButton in Code does not set controlTint to currentControlTint (From: Kyle Sluder <email@hidden>)
 >Re: Creating NSButton in Code does not set controlTint to currentControlTint (From: Peter Teeson <email@hidden>)

  • Prev by Date: Re: comboBoxSelectionDidChange not called
  • Next by Date: Re: comboBoxSelectionDidChange not called
  • Previous by thread: Re: Creating NSButton in Code does not set controlTint to currentControlTint
  • Next by thread: Should copy + paste change characters?
  • Index(es):
    • Date
    • Thread