With delphi 10.2.2 firemonkey
, under windows
, when i do :
MessageDlg('Are you sure you want to undo the last operation ?', // const AMessage: string;
TMsgDlgType.mtConfirmation, // const ADialogType: TMsgDlgType;
[TMsgDlgBtn.mbYes, TMsgDlgBtn.mbCancel], // const AButtons: TMsgDlgButtons;
0, // const AHelpContext: THelpContext;
TMsgDlgBtn.mbCancel, // const ADefaultButton: TMsgDlgBtn;
procedure(const AResult: TModalResult)
begin
if AResult = mrYes then begin
end;
end); // const ACloseDialogProc: TInputCloseDialogProc);
then only a "OK" button is show in the popup dialog (no "cancel" nor "yes"). Is it normal or I miss something ?