So I've noticed that when you press a button on a GUI and lets say it just displays a MsgBox, when that MsgBox is still active (User hasn't pressed "Ok") the user can click another button on the GUI and that action will be cued and as soon as the user pressed "Ok" the second buttons action is fired without them having to press the button again.
Is it possible to not allow this?
Without having to do something like..
If $ActiveFunction = 0 Then
$ActiveFunction = 1