Hi Jaque,
don't worry, is quite quickly ... I use the message exactly to verify
(and to remove) the CR that I don't wont in the text ;-)
The Multiline Input control is an UITextView and, like all native
controls, descend from UIView class so ...
... I suppose you can use the "backgroundColor" property and use the
alpha value to make him transparent :-)
Guglielmo
On 14.11.2012 22:56, J. Landman Gay wrote:
On 11/14/12 2:08 PM, Guglielmo Braguglia wrote:
Hi Jaque,
I don't know if is the best solution, but actually, what I do to test
the character inside the iOS/Android native fields (both single and
multiline), is using the message "inputTextChanged" which is fired each
character the user type ...
So ...
put mobileControlTarget() into tTarget // to know which field is
changed
put mobileControlGet(tTarget, "text") into tText // to get ALL the text
entered
... next you can play with the text (e.g. search if the last char is cr)
and you can set back the text into the native field with :
mobileControlSet tTarget, "text", tText
Hope this help ...
Thanks. I guess I'll have to do it that way. It seems like overkill
but I can't find any other way.
Are you able to make a multiline input control transparent?
_______________________________________________
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