Re: Setting action: with a variable

2008-05-27 Thread Jean-Daniel Dupas
Le 27 mai 08 à 20:17, Gorazd Krosl a écrit : Greetings, I am having trouble with something that should be pretty basic.. What I would like to do is set the action for NSButton programmatically where the selector is a variable. I can't seem to find an example. [aButton addTarget:self action:

Re: Setting action: with a variable

2008-05-27 Thread Gorazd Krosl
> Greetings, > > I am having trouble with something that should be pretty > basic.. > > What I would like to do is set the action for NSButton > programmatically where the selector is a variable. > > I can't seem to find an example. > > [aButton addTarget:self action:variable ] > > If I

Re: Setting action: with a variable

2008-05-27 Thread Mike Fischer
Am 27.05.2008 um 18:19 schrieb Mark Manes <[EMAIL PROTECTED]>: What I would like to do is set the action for NSButton programmatically where the selector is a variable. I can't seem to find an example. [aButton addTarget:self action:variable ] NSButton does not respond to any message sta