Re: Little problem with NSPopUpButton
Re: Little problem with NSPopUpButton
- Subject: Re: Little problem with NSPopUpButton
- From: "Rakesh Pandey" <email@hidden>
- Date: Sun, 22 Dec 2002 01:15:21 +0530
did you trty
[popUpButton indexOfSelectedItem]
It will give U index of selected item. The index starts from 0.
regards
Rakesh
----- Original Message -----
From: "Aidas Dailide" <email@hidden>
To: <email@hidden>
Sent: Sunday, December 22, 2002 10:46 AM
Subject: Little problem with NSPopUpButton
>
Howdie there,
>
>
I would like to return int value of currently selected item of
>
NSPopUpButton. I've tried to use many commands like [[popup
>
titleOfSelecteditem] intValue],[popup intValue] and some others, but
>
all the time it returns 0. I'm sure that my NSPopUpButton values are
>
correct (all numbers only).
>
>
Thanks,
>
>
Aidas
>
_______________________________________________
>
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.
_______________________________________________
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.