Welcome, Guest
Username: Password: Remember me
CodeTyphon MS Windows (Win7, Win8.x, Win10 and Win11) OS Development, discussions and problems
  • Page:
  • 1

TOPIC:

What unit for mrOK, mrCancel,...defines? 8 years 5 months ago #9678

  • Dennis Jones
  • Dennis Jones's Avatar Topic Author
  • Visitor
  • Visitor
I have included Dialogs but I get an error message saying that mrCancel is not known.

Please Log in or Create an account to join the conversation.

What unit for mrOK, mrCancel,...defines? 8 years 5 months ago #9679

  • zeljko
  • zeljko's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 207
  • Thank you received: 38
maybe help

uses Controls;


unit Controls;

const
// Used for ModalResult
mrNone = 0;
mrOK = mrNone + 1;
mrCancel = mrNone + 2;
mrAbort = mrNone + 3;
mrRetry = mrNone + 4;
mrIgnore = mrNone + 5;
mrYes = mrNone + 6;
mrNo = mrNone + 7;
...

Please Log in or Create an account to join the conversation.

What unit for mrOK, mrCancel,...defines? 8 years 5 months ago #9680

  • Dennis Jones
  • Dennis Jones's Avatar Topic Author
  • Visitor
  • Visitor
Thanks. including Controls did the trick. How could I have found this myself?

Please Log in or Create an account to join the conversation.

Last edit: by Dennis Jones.
  • Page:
  • 1