Re: Configure a button added in IB

2008-11-16 Thread Mikael Wämundson
Thanks! Works like a charm. Didn't work at first because I put theButton = [[NSButton alloc] init]; before the [theButton setTitle:@"send steve money"]; When that was removed, it worked ok (and you will probably get your money). wamund 16 nov 2008 kl. 02.48 skrev Steven Riggs: To do it fr

Re: Configure a button added in IB

2008-11-15 Thread Steven Riggs
To do it from code, add something like.. IBOutlet NSButton *theButton; ...to your .h Instanitate your class in interface builder and then connect theButton to your button my control dragging from your class to the button. and then use the documentation here: http://developer.apple.com/docume