• 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
How to enable/disable buttons immediately after focus transfer
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to enable/disable buttons immediately after focus transfer


  • Subject: How to enable/disable buttons immediately after focus transfer
  • From: an0 <email@hidden>
  • Date: Tue, 5 Aug 2008 21:36:12 +0800

I know how to do this for NSValidatedUserInterfaceItem by implementing
`- (BOOL)validateUserInterfaceItem:(id < NSValidatedUserInterfaceItem
>)anItem'; however, NSSegmentedControl and NSButton do not conform to
NSValidatedUserInterfaceItem protocol, then how can I switch the
enable status of  these controls as an IMMEDIATE response to the focus
transfer?
Thanks in advance.
_______________________________________________

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

  • Follow-Ups:
    • Re: How to enable/disable buttons immediately after focus transfer
      • From: Negm-Awad Amin <email@hidden>
  • Prev by Date: Re: Using performSelector: on super
  • Next by Date: Re: Bindings to display an NSArray of NSStrings as a single NSString?
  • Previous by thread: Re: CGGStackRestore: gstack underflow
  • Next by thread: Re: How to enable/disable buttons immediately after focus transfer
  • Index(es):
    • Date
    • Thread