How To "Get" Properties in iOS?

Scott Rossi scott at tactilemedia.com
Sun Jan 9 03:02:37 EST 2011


Using the iOS scroller setup, I understand how to use the following to set
the scroll value:

 iphoneControlSet sScrollerId, "vscroll", 0

Now what's the script to "get" the scroll value?
I tried:
 iphoneControlGet sScrollerId, "vscroll"
 answer it

 iphoneControlGet sScrollerId, "vscroll"
 answer the result

 get iphoneControlGet sScrollerId, "vscroll"
 answer it

Nothing seems to work.  I must be missing something simple -- what's the
correct syntax here?

Also to RunRev -- shouldn't the "iphone" references in the iOS commands use
"mobile" instead to be more comprehensive when support for other mobile
devices is provided?

 mobileControlSet sScrollerId

Thanks & Regards,

Scott Rossi
Creative Director
Tactile Media, UX Design






More information about the use-livecode mailing list