How to clear checkboxes when check-box mode is off/toggled?

Dear friends,

  1. Activate Check-box Mode with applying Set CHECKBOXMODE=On command.
  2. Checked a file.
  3. Deactivate Check-box Mode with applying Set CHECKBOXMODE=Off command.
  4. Repeat phase 1.

As you see, the previous checked file is checked to now. How can I clear checked files every time Checked-box Mode is went off?

Regards

There are probably other solutions, but you could use this code:

Select NONE Set CHECKBOXMODE=Toggle

Or just add Select NONE to your own code.

Thanks to reply dear Christiaan.
I was tested your code before my question in different situations without any success, but now worked! Thanks again.

Best Regards