In the button event, I put notifier first, the button event finished first and value from Notifier will be sent at last.
In my example, I simplified the coding.
- Initial global_strNotificationGeneral = 0
- Notifier messagebox pop up
- Choose Confirm Button
- Lbl_testing.text showed 0.
I run the program again. In this time, I choose the Cancel button. The lbl_testing.text showed 1.
I run the program again. In this time, I choose the Cancel button. The lbl_testing.text showed 0.
I run the program again. In this time, I choose the Confirm button. The lbl_testing.text showed 0.
I run the program again. In this time, I choose the Confirm button. The lbl_testing.text showed 1.
At the moment, I put the notifier at last and I put some procedure inside AfterChoosing. This would solve my issue.
I think the program did not stop at the point of Notifier. Is it the defect from MIT App?