Help on notifier

I want to add notifier to the program. I want it to send an alert that says “are you sure” with “yes-no” option when I press the button and if I press the “yes”, the button can be active but ıf I press “no” the button cant be usable. I’d be grateful If you explain to me how to do it.

Use the showChooseDialog

yes but even if i press no it pushes the button

what should I do ?

Try like this:

1 Like