My problem ,
I have a set of CheckBoxes that can individually be changed by the user.
Everytime a CheckBox changes a ListBox will be updated.
That works fine.
But,
I have 3 buttons -> ‘Select All’, ‘Select None’ and ‘Invert Selection’ for changing the same set of CheckBoxes.
What happens : when I select ‘All’ ‘None’ or ‘Invert’ the CheckBox Set action will be launched for all the changed CheckBoxes. The ListBox will be updated multiple times, and that should be only once after clicking 'All, ‘None’ or ‘Invert’.
I’m looking for a solution for this problem.
It is perhaps easy, but I cannot find a correct solution.
This way, the ListBox actions would be performed with a delay when a CheckBox Value changes. The CancelCall before the CallLater would stop the execution and so only the last Call should be performed.
Ok I quickly tested the second solution with the ‘If Me.Enabled Then’ and that seems to work for me.
Further tests will be done to be sure if everything works fine that way.
Thank you very much Sascha S.