hello
I
use the Dialog 2017 lib with a own layout
>Wait For (sf) Dialog_Ready (pnl As Panel)
>pnl.LoadLayout("test") .....
this layout has an input field.
when I click this the keyboard appears.
(ok)
if I press a button now e.g. Cancel
and try to close the keyboard, it doesn't work.
Wait For (sf) Dialog_Result(res As Int)
If res = DialogResponse.POSITIVE Then
IME.HideKeyboard
...
I put a sleep(100) in front of the IME.HideKeyboard
it works.
I'm sure there's a better solution than with sleep
regards Frank
I
use the Dialog 2017 lib with a own layout
>Wait For (sf) Dialog_Ready (pnl As Panel)
>pnl.LoadLayout("test") .....
this layout has an input field.
when I click this the keyboard appears.
(ok)
if I press a button now e.g. Cancel
and try to close the keyboard, it doesn't work.
Wait For (sf) Dialog_Result(res As Int)
If res = DialogResponse.POSITIVE Then
IME.HideKeyboard
...
I put a sleep(100) in front of the IME.HideKeyboard
it works.
I'm sure there's a better solution than with sleep
regards Frank