Android Question RequestFocus

Heinz

Active Member
Licensed User
Longtime User
Requestfocus not always working.
I have an USB-HID QR-code scanner. the scanner
configuration is on an RETURN (CR) at the end of
the line (output).

in the sub

B4X:
EditText1_EnterPressed
i read (EditText1.Text) the input and working with it.
at the end of the SUB, (the editfield must be ready for the next scanner input)
i write :
B4X:

B4X:
EditText1.Text = ""
EditText1.RequestFocus

the Cursor is not always in the editfield and i must
activate manuel the field.
i want to have an automatic-input for the editfield.
No keyboard is needed.
 
Last edited:
Top