FXForms icon indicating copy to clipboard operation
FXForms copied to clipboard

how to get index from FXFormFieldOptions ?

Open realcarlos opened this issue 9 years ago • 4 comments

now it always return the string I selected ,but I want the index of array selected. Thank you very much

realcarlos avatar Oct 31 '15 10:10 realcarlos

me too

realcarlos avatar Nov 01 '15 10:11 realcarlos

My solution is init a dictionary, when the targeted string is returned, you can use dictionary to give a value.

arkilis avatar Nov 02 '15 05:11 arkilis

ok, thanks

realcarlos avatar Nov 02 '15 09:11 realcarlos

why not just call indexOfObject on the array?

bar2 avatar Oct 15 '16 00:10 bar2