Page 1 of 1

using chunk expressions in native iOS "multiline" controls

Posted: Fri Jul 05, 2013 2:11 am
by Coffee1633
Is is possible to use chunk expressions in iOS controls specifically multiline controls?

Lets say I want to get the 3rd word from fld "myFieldName", then I would normally use

put word 3 of fld "myFieldName" into tMyVariable
//do something with tMyVariable

Is it possible to refer to the native control like I would fld "myFieldName"?

Re: using chunk expressions in native iOS "multiline" contro

Posted: Fri Jul 05, 2013 1:16 pm
by Klaus
Hi Coffe1633,

not directly! :-)

You need to get the text of the native "text" control first and process that:
...
put mobileControlGet("name of your native multiline text control here! Or just its ID :-)", "text") into tInputText
put word 3 of tInputText into tMyVariable
...


Best

Klaus