On 2013-12-28, at 5:03 PM, Peter Teeson <ptee...@icloud.com> wrote:
> On 2013-12-28, at 11:43 AM, Kyle Sluder <k...@ksluder.com> 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 (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to