How do I use an if statement to get the status of a button that was clicked in a `MessageDlg'?
Heres my code:
if MessageDlg('Message',mtError,[mbYesNoCancel],0) = No
then ShowMessage('Message2');
I saw my IT teacher write something like this a while ago, but I don't remember the syntax.