Android Question [SOLVED] Send focus to EditText

Bladimir Silva Toro

Active Member
Licensed User
Longtime User
Hello

I am developing an application in B4A that takes the data from a barcode reader.

At the time of adding the product it is necessary to be able to send the focus (the cursor) to an EditText

In Visual Basic.NET I do it with the name of the TextBox and the Focus () property, an example would be:

B4X:
TxtBarCode.Focus ()


Thank you very much for your help.
 

DonManfred

Expert
Licensed User
Longtime User
B4X:
TxtBarCode.RequestFocus
 
Upvote 0
Top