Hello,
I have a CustomDialog (cd) and inside I put an EditText (ed), they are both created at runtime.
When I call
I'd like to have the focus set to the EditText and the Keyboard pop up.
I've tried to use
before showing the CustomDialog but it does nothing, the same if I use an IME object to show the Keyboard.
I know the CustomDialog is modal so there are no chances after I call the "show", is there something I can do before calling "show" to have the EditText receive the focus and the Keyboard to pop up after the CustomDialog appears?
Thank you in advance.
I have a CustomDialog (cd) and inside I put an EditText (ed), they are both created at runtime.
When I call
B4X:
cd.Show
I'd like to have the focus set to the EditText and the Keyboard pop up.
I've tried to use
B4X:
ed.requestfocus
before showing the CustomDialog but it does nothing, the same if I use an IME object to show the Keyboard.
I know the CustomDialog is modal so there are no chances after I call the "show", is there something I can do before calling "show" to have the EditText receive the focus and the Keyboard to pop up after the CustomDialog appears?
Thank you in advance.