B4J Question Focus on a specific item

upsis

Member
Licensed User
Longtime User
How do I set the focus to an item (textfield) that is inside a panel, that inside a listview? The listview has several panels and each one has a textfield.
 

upsis

Member
Licensed User
Longtime User
There are all kinds of ways to organize the references.
B4X:
Dim pn As Pane = ListView1.Items.Get(0) 'first item
Dim tf As TextField = pn.GetNode(<you need to know the index>)
tf.RequestFocus
Thank you very much
 
Upvote 0
Top