I can't compile this code. It says that the symbol mrYes is unidentified. I have added
the Dialogs unit to the uses clause of my unit. This is pretty much the example from
the help. In fact, the example from the help uses the same mrYes and also doesn't
work. Why?
if MessageDlg('Do you want to save your changes?',mtConfirmation,[mbYes,mbNo],0) =
mrYes then
RespondToYes
else
RespondToNo;
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/