Or it is possible only when ending the editing, like this
Code: Select all
on inputEndEditing
# handle the inputEndEdited message
put word 1 to 5 of mobileControlGet(sControlID, "text") into tText --remove spaces outside
replace " " with "" in tText --no spaces inside
mobileControlSet sControlID, "text", tText
end inputEndEditin
"On inputTextChanged" doesn't work.
Thanks for any help