NSButton
NSButton
- Subject: NSButton
- From: santosh <email@hidden>
- Date: Mon, 8 Oct 2007 18:31:32 +0530
Hi,
I want to disable the NSButton on click of it and enabled it again
when it finish it work.
I have written a code for this like follow;
(IBAction)setDestination:(id)sender
{
[sender setEnabled:NO];
/*
My function code here
*/
[sender setEnabled:YES];
}
But if i debug this code it's not disabled the button after first
statement so if i click on the button continuously it hangs the
application.
_______________________________________________
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