Re: How to enable/disable buttons immediately after focus transfer
Re: How to enable/disable buttons immediately after focus transfer
- Subject: Re: How to enable/disable buttons immediately after focus transfer
- From: Negm-Awad Amin <email@hidden>
- Date: Wed, 6 Aug 2008 12:37:12 +0200
Did you try a subclass of NSWindow and overriding -setFirstResponder:?
Amin
Am Di,05.08.2008 um 15:36 schrieb an0:
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
Amin Negm-Awad
email@hidden
_______________________________________________
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