U upsis Member Licensed User Longtime User Apr 4, 2016 #1 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.
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.
Erel B4X founder Staff member Licensed User Longtime User Apr 4, 2016 #2 There are all kinds of ways to organize the references. Code: Copy Dim pn As Pane = ListView1.Items.Get(0) 'first item Dim tf As TextField = pn.GetNode(<you need to know the index>) tf.RequestFocus Upvote 0
There are all kinds of ways to organize the references. Code: Copy Dim pn As Pane = ListView1.Items.Get(0) 'first item Dim tf As TextField = pn.GetNode(<you need to know the index>) tf.RequestFocus
U upsis Member Licensed User Longtime User Apr 4, 2016 #3 Erel said: There are all kinds of ways to organize the references. Code: Copy Dim pn As Pane = ListView1.Items.Get(0) 'first item Dim tf As TextField = pn.GetNode(<you need to know the index>) tf.RequestFocus Click to expand... Thank you very much Upvote 0
Erel said: There are all kinds of ways to organize the references. Code: Copy Dim pn As Pane = ListView1.Items.Get(0) 'first item Dim tf As TextField = pn.GetNode(<you need to know the index>) tf.RequestFocus Click to expand... Thank you very much