Native Input Text
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: Native Input Text
Hi Youks,
I usually just use a hidden button (vis false) and set the focus to that when I want to get rid of the keyboard and cursor. Just have the focus with keyboard and show focus border selected.
Watch-out for keyboardDeactivated, a "soft keyboard down" wont activate the message.
Simon
I usually just use a hidden button (vis false) and set the focus to that when I want to get rid of the keyboard and cursor. Just have the focus with keyboard and show focus border selected.
Watch-out for keyboardDeactivated, a "soft keyboard down" wont activate the message.
Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!
Re: Native Input Text
Hi Simon,
I've tried your trick with buttons,field,graphics etc... I could not get the focus to move out of a native input text !!
i managed to play with the tranversalOn property, it works that way but triggers unnecessarily the keyboard.
i'm using LC 6.7.1 (latest) C.E. and testing on Note 4 .
It could be cool to check if your trick still works on the version i'm using.
Thx for your input.
I've tried your trick with buttons,field,graphics etc... I could not get the focus to move out of a native input text !!
i managed to play with the tranversalOn property, it works that way but triggers unnecessarily the keyboard.
i'm using LC 6.7.1 (latest) C.E. and testing on Note 4 .
It could be cool to check if your trick still works on the version i'm using.
Thx for your input.
Re: Native Input Text
Hi Youks,
Start a new stack and put this into the card script
Add a button (that can be focused) on the card and run on the device.
Yes?
No?
Simon
Start a new stack and put this into the card script
Code: Select all
local sinputId
on opencard
if environment() = "mobile" then
mobileControlCreate "input"
put the result into sinputID
mobileControlSet sinputID, "rect", "38,113,361,156"
mobileControlSet sinputID, "visible", "true"
mobileControlSet sinputID, "opaque", "true"
end if
end opencard
on closeCard
mobileControlDelete sinputId
end closeCard
on mouseUp
focus on btn 1
end mouseUp
on errorDialog pExecutionError, pParseError
answer "An error occurred on line: " & item 2 of line 1 of pExecutionError & cr & pExecutionError
end errorDialog
Yes?

No?

Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!
Re: Native Input Text
Hi Simon,
This doesn't work unfortunately!!!!!!!

This doesn't work unfortunately!!!!!!!

Re: Native Input Text
hmmm...
Maybe it has to do with the device (or I misunderstood everything). Try that, it is working here.
Simon
Maybe it has to do with the device (or I misunderstood everything). Try that, it is working here.
Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!
Re: Native Input Text
I tried that one and unfortunately no joy !!!!!!!
Re: Native Input Text
I've reported it as a bug and will investigate more tomorrow on another device. i'm not sure if it is only LC issue or Kitkat or Android SDK version.....a bit confused at this stage. For my app i am working for the time being with LC fields until UFN.
Thx for the help.
Thx for the help.