I have in my keypress event a check for the Back key and a confirmation of Yes or No. If the ans = DialogResponse.NEGATIVE I return True and abort the back. I don't even have a False since it isn't needed like other examples here show with the full if/then/else.
While the MsgBox is showing though the Back key can still be pressed and the app exits without even answering the msgbox. Is there a way to block this? ProgressDialogShow2 has an option to ignore back, but I'm not seeing one in either msgbox...do we need a msgbox3?
The whole purpose of the box is to confirm an accidental press...which could occur twice in a row.
While the MsgBox is showing though the Back key can still be pressed and the app exits without even answering the msgbox. Is there a way to block this? ProgressDialogShow2 has an option to ignore back, but I'm not seeing one in either msgbox...do we need a msgbox3?
The whole purpose of the box is to confirm an accidental press...which could occur twice in a row.
Last edited: