Little problem with NSPopUpButton
Little problem with NSPopUpButton
- Subject: Little problem with NSPopUpButton
- From: Lorenzo Puleo <email@hidden>
- Date: Sun, 22 Dec 2002 19:54:08 +0100
Hi Aidas,
maybe the solution you are looking for is the simpliest.
In Interface Builder connect your popUpMenu to an action
like this, then
- (IBAction)ChoosePop:(id)sender
{
int theItemSelected;
theItemSelected = [sender indexOfSelectedItem];
}
Regards
--
Lorenzo Puleo
mailto:email@hidden
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.