saunwin Active Member Licensed User Longtime User May 24, 2017 #1 Morning, I have 9 checkboxes in a panel. I want them in 3 groups of 3. In each group selecting a radio button de-selects the other two. At present selecting ANY of the 9 buttons de-selects the other 8. Do I have to put each group in their own panel ? Many thanks
Morning, I have 9 checkboxes in a panel. I want them in 3 groups of 3. In each group selecting a radio button de-selects the other two. At present selecting ANY of the 9 buttons de-selects the other 8. Do I have to put each group in their own panel ? Many thanks
DonManfred Expert Licensed User Longtime User May 24, 2017 #2 No need. You can use the Tag Property to distinguish them. You can go over the panel with B4X: for each v as view in p.GetAllViewsRecursive if v is Checkbox then dim cb as checkbox = v ' work with the Checkbox.... end if next Upvote 0
No need. You can use the Tag Property to distinguish them. You can go over the panel with B4X: for each v as view in p.GetAllViewsRecursive if v is Checkbox then dim cb as checkbox = v ' work with the Checkbox.... end if next
saunwin Active Member Licensed User Longtime User May 24, 2017 #3 Sorry DonManfred - Typo I'm working with radio buttons. Can the tag property be used in the designer ? Morning, I have 9 RADIOBUTTONS in a panel. I want them in 3 groups of 3. In each group selecting a radio button de-selects the other two. At present selecting ANY of the 9 radio buttons de-selects the other 8. Do I have to put each group in their own panel ? Many thanks Upvote 0
Sorry DonManfred - Typo I'm working with radio buttons. Can the tag property be used in the designer ? Morning, I have 9 RADIOBUTTONS in a panel. I want them in 3 groups of 3. In each group selecting a radio button de-selects the other two. At present selecting ANY of the 9 radio buttons de-selects the other 8. Do I have to put each group in their own panel ? Many thanks
R ronell Well-Known Member Licensed User Longtime User May 24, 2017 #4 radiobbuttons with the same parent only affects each other , saunwin said: Do I have to put each group in their own panel ? Click to expand... yes, that will work Upvote 0
radiobbuttons with the same parent only affects each other , saunwin said: Do I have to put each group in their own panel ? Click to expand... yes, that will work