I believe that you must use a style of "checkmark" for initialIndex to work.

1-based means if:
line 1 is "picked" then 1 is returned.
line 2 is "picked" then 2 is returned...

0-based means if:
line 1 is "picked" then 0 is returned.
line 2 is "picked" then 1 is returned.....

Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net

-----Original Message-----
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of 
William Prothero
Sent: Thursday, April 30, 2015 3:09 PM
To: How to use LiveCode
Subject: question re mobilePick

Folks:
I am using mobilePick to select from a list of data, in iOS. I can’t seem to 
get the initialIndex to work. The API Dictionary says:

initialIndex - The (1-based) index of the item to be initially highlighted.   

I was assuming that this was just the line number of the optionList, but since 
it doesn’t work, I figure it must be something else. What dos that line mean? 
What is a "1-based" index?

Regards,
Bill



William A. Prothero
http://es.earthednet.org/

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to