Android Question Multiple ASCheckboxes in a CLV_Item

Bob Spielen

Active Member
Licensed User
I Have 3 CheckBoxes on the same CLV_Item_Panel . When I check one of them the other 2 should Uncheck.
Getting real confused with the CheckedChange sub of the 3 boxes. The problem is when I check one of them
and uncheck by code........ the other 2 CheckedChange Subs get fired......
Need some help...does exist a way to unable the CheckedChange sub and then enable it again after...?
Thank a lot for any idea......may be Herr @Alexander Stolte hat eine hervorragende Idee...
 
Last edited:

MicroDrie

Well-Known Member
Licensed User
Without any sour code is hard to tell what is going wrong. However it looks that all three Check boxes share the same event sub. You can study Erels example of Tick-Tack-Toe: working with arrays of views how to split the same event sub.
 
Upvote 0

Bob Spielen

Active Member
Licensed User
The Native checkbox also triggers the event when you change the check status in the code.

What I can do is add an "EnableEvent" property.
Herr Stolte besten Dank ! Do you think when we put EnableEvent=False means that when I change by code the Checked State, it will not fire the Sub CheckedChange ?
 
Upvote 0
Top