Problem with setAction
Problem with setAction
- Subject: Problem with setAction
- From: "Sprague, Graham" <email@hidden>
- Date: Fri, 6 Jul 2001 08:51:35 -0400
I am trying to change a button so that when a task is executing the name of
the button changes and the action the button will trigger changes as well.
The method I am accessing is all part of the same class.
so I'm using..
[goButton setTitle:@"stop"]
/* I found this but don't know how to use it. I tried it like this but that
gives me an error stating that 'newActionName' is undefined. */
[goButton setAction:(SEL)newActionName]
Thanks,
Graham Sprague
STAPLES, INC.
508-253-8170
email@hidden