• 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
Problem with setAction
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: And now for my next question(s)...
  • Next by Date: Re: Problem with setAction
  • Previous by thread: Re: As a Different User
  • Next by thread: Re: Problem with setAction
  • Index(es):
    • Date
    • Thread