Warning message
if I deselect a section, I want a warning message to appear (OK / CANCEL), I know how to create the warning message, just not how to display it the moment someone unclicks a section.
Archive: Warning message
Warning message
if I deselect a section, I want a warning message to appear (OK / CANCEL), I know how to create the warning message, just not how to display it the moment someone unclicks a section.
You can check if that section is deslected in .onSelChange. Make sure you don't display the message if that section was already deselected the last time .onSelChange was called, so the user doesn't get a warning everytime he changes his selection for any section.