Forum Discussion

denioflavio's avatar
denioflavio
Occasional Contributor
12 years ago

Buttons on MessageDlg

Hi,   I have a script coded like this:      texto := 'Confirma?';    btn := MkSet(mrOk, mrCancel);    btn := MessageDlg(texto, mtConfirmation, btn, 0);...
  • dganov's avatar
    12 years ago
    Try to specify buttons using mbOk and mbCancel constants:

      btn := MkSet(mbOk, mbCancel);

    Constants starting with "mr" are result values.

    You can see details here: MessageDlg Method