Hi.
I've an issue when passing a text value to act as a default value in an input box. When the keyboard pops up on a device, the default/starting text is shown, but you are unable to delete this and can only type new text that adds to it. You can then delete the new text, but only as far as the default.
For example, if I call the function below with "abc", "abc" is shown, but I cannot delete the characters. If then I type "def", I can delete this, but only as far as "abc"
This is only on devices, it works fine in windows under the ide.
Anyone encountered this and perhaps could help with a workaround?
Function Input(textin$)
SetCursorBlinkTime(0.5)
SetTextInputMaxChars(20)
StartTextInput(textin$)
Do
Sync()
state=GetTextInputState()
c=GetLastChar()
if GetTextInputCompleted()
if GetTextInputCancelled()
text$=textin$
exit
else
text$=GetTextInput()
exit
endif
endif
Loop
StopTextInput()
sync()
EndFunction text$
play.apkgames.guru