• 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
Re: Stopping actions mid stream
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Stopping actions mid stream


  • Subject: Re: Stopping actions mid stream
  • From: Jaime Magiera <email@hidden>
  • Date: Sun, 6 Jul 2008 08:07:38 -0400


On Jul 6, 2008, at 3:04 AM, Jeff Brown wrote:

The delegate method has some code that checks whether the radio buttons are allowed to be changed from 1 to 2 and if not, sends an alert to the user.
My problem is how can I stop the radio buttons themselves changing from 1 to 2. When programming in Visual Basic there was a method that stopped the action from completing. Is there something similar I can do here or some other way.


Hi,

I don't have an answer to your question, but an observation: Giving a user the option to click something, then telling them they cannot, seems kind of weird. Radio buttons are generally for options a user has. If the functionality denoted by an item is unavailable, generally it is hidden or at the very least inactive. In other words, using logic to determine availability of an interface item before it is clicked. Such a thing can be done with bindings.

anyway, good luck finding the answer to your question.

Jaime


Jaime Magiera

Sensory Research
http://www.sensoryresearch.net

_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:
This email sent to email@hidden


References: 
 >Stopping actions mid stream (From: Jeff Brown <email@hidden>)

  • Prev by Date: Re: Method Sees Populated Array As Empty
  • Next by Date: Re: Method Sees Populated Array As Empty
  • Previous by thread: Stopping actions mid stream
  • Next by thread: Re: Stopping actions mid stream
  • Index(es):
    • Date
    • Thread