you want to go to your header file, and first declare an IBAction. Then in IB, tie up the button to that IBAction.
Then, in your .m file, you do this
- (IBAction)yourActionName:(id)sender {
[okbutton disabled:TRUE];
}
Daniel Kindler
2009-06-05 11:55:35