B Bob Spielen Active Member Licensed User Longtime User Sep 14, 2020 #1 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: Sep 14, 2020
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...
MicroDrie Well-Known Member Licensed User Longtime User Sep 14, 2020 #2 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
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.
Alexander Stolte Expert Licensed User Longtime User Sep 15, 2020 #3 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. Upvote 0
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.
B Bob Spielen Active Member Licensed User Longtime User Sep 16, 2020 #4 Alexander Stolte said: 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. Click to expand... 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
Alexander Stolte said: 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. Click to expand... 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 ?