Hello everyone
I am a little confused, I do not find an example of how to get the text of a native text control.
There is a fine example of how to change all the properties of the text but do not understand how to get the content
Do you have suggestions
thanks
Native text control problem
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: Native text control problem
Hi info26,
...
put iphoneControlGet(ID_of_Your_Control, "text") into tEditedText
...
Please check:
http://lessons.runrev.com/spaces/lessons
And the "iOS Release Notes"!
Best
Klaus
...
put iphoneControlGet(ID_of_Your_Control, "text") into tEditedText
...
Please check:
http://lessons.runrev.com/spaces/lessons
And the "iOS Release Notes"!
Best
Klaus
Re: Native text control problem
OK the code
put iphoneControlGet(ID_of_Your_Control, "text") into tEditedText
is correct if I put a number of control_ID
But if I have a card with 10 text area how can I distinguish the text areas from each other?
How can I obtain the id of the object
Thank's
put iphoneControlGet(ID_of_Your_Control, "text") into tEditedText
is correct if I put a number of control_ID
But if I have a card with 10 text area how can I distinguish the text areas from each other?
How can I obtain the id of the object
Thank's
Re: Native text control problem
Hi info26,
be able to mange your objects somehow.
I think you can also give your native iOS controls a NAME instead an ID.
Best
Klaus
Well since YOU created them (I boldly presume) you shouldHow can I obtain the id of the object?
be able to mange your objects somehow.

I think you can also give your native iOS controls a NAME instead an ID.
Best
Klaus
Re: Native text control problem
When you create the control with iphoneControlCreate, the ID is returned in the result. So, for example:info26 wrote: How can I obtain the id of the object
iphoneControlCreate "input"
put the result into InputControlID
InputControlID would contain the ID of the control.
All this is in the iOS release notes.
Gerry
14" MacBook Pro
Former LiveCode developer.
Now recovering.
Former LiveCode developer.
Now recovering.