Y ykucuk Well-Known Member Licensed User Longtime User Aug 8, 2020 #1 I have few B4XSwitch views in the customlistview. How can i read each B4XSwitch value. My code doesn't work. B4X: If v Is B4XSwitch Then Dim xs As B4XSwitch =v.tag strPost= Listview1.GetValue(i) & "=" & xs.Value & "&" & strPost End If
I have few B4XSwitch views in the customlistview. How can i read each B4XSwitch value. My code doesn't work. B4X: If v Is B4XSwitch Then Dim xs As B4XSwitch =v.tag strPost= Listview1.GetValue(i) & "=" & xs.Value & "&" & strPost End If
Semen Matusovskiy Well-Known Member Licensed User Aug 8, 2020 #2 Guess, you need to replace v.tag to v Upvote 0
Y ykucuk Well-Known Member Licensed User Longtime User Aug 8, 2020 #3 Semen Matusovskiy said: Guess, you need to replace v.tag to v Click to expand... I tried. doesn't work. check the attachment. Attachments Screen Shot 2020-08-08 at 20.03.47.png 73 KB · Views: 197 Upvote 0
Semen Matusovskiy said: Guess, you need to replace v.tag to v Click to expand... I tried. doesn't work. check the attachment.
Semen Matusovskiy Well-Known Member Licensed User Aug 8, 2020 #4 What is v in your code ? If View / B4XView, it will be troubles. B4XSwitch includes 3 views and v Is B4XSwitch will not work. Upvote 0
What is v in your code ? If View / B4XView, it will be troubles. B4XSwitch includes 3 views and v Is B4XSwitch will not work.
Y ykucuk Well-Known Member Licensed User Longtime User Aug 8, 2020 #5 Semen Matusovskiy said: What is v in your code ? If View / B4XView, it will be troubles. B4XSwitch includes 3 views and v Is B4XSwitch will not work. Click to expand... B4X: Dim v As View = Listview1.GetPanel(i).GetView(0) Upvote 0
Semen Matusovskiy said: What is v in your code ? If View / B4XView, it will be troubles. B4XSwitch includes 3 views and v Is B4XSwitch will not work. Click to expand... B4X: Dim v As View = Listview1.GetPanel(i).GetView(0)
Semen Matusovskiy Well-Known Member Licensed User Aug 8, 2020 #6 Could be different solutions. For example, see attached Attachments s22.zip 171.1 KB · Views: 221 Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Aug 9, 2020 #7 Semen Matusovskiy said: v Is B4XSwitch will not work. Click to expand... True. You can read more here: [B4X] How to get <custom view here> from <CLV or any other container> Upvote 0
Semen Matusovskiy said: v Is B4XSwitch will not work. Click to expand... True. You can read more here: [B4X] How to get <custom view here> from <CLV or any other container>