By fine-tuning the code, I changed the following code to an anonymous function (Lambda expression),  and the QA listens to his parent. As far as the setting of the switch value is concerned. Please login or register to see this code. to Please login or register to see this code. looks much cleaner now..   and for the sake of completeness, the checkState code Please login or register to see this code.   I also included the full QA.   Please login or register to see this attachment.
    • Like
    1