![]() |
FMX MessageDialog Buttons
Hallo,
mir ist aufgefallen, dass ein
Delphi-Quellcode:
nicht wie erwartet die drei Buttons angezeigt werden, sondern nur ein [OK] Button.
TDialogService.MessageDialog(DeleteMSG, TMsgDlgType.mtConfirmation,
[TMsgDlgBtn.mbYes, TMsgDlgBtn.mbNo, TMsgDlgBtn.mbAbort], TMsgDlgBtn.mbNo, 0, ... Ohne TMsgDlgBtn.mbAbort sind die Buttons [Ja] und [Nein] vorhanden. |
AW: FMX MessageDialog Buttons
Jo, seh ich auch :stupid:
Delphi-Quellcode:
Was aber auch verständlich ist, denn wenn ich mir in Fmx.Dialogs.Win das TFMXDialogService.MessageDialog ansehe, dann wird mir schlecht.
procedure TForm21.FormMouseUp(Sender: TObject; Button: TMouseButton; Shift: TShiftState; X, Y: Single);
begin TDialogService.MessageDialog('hallo', TMsgDlgType.mtConfirmation, [TMsgDlgBtn.mbYes, TMsgDlgBtn.mbNo, TMsgDlgBtn.mbAbort], TMsgDlgBtn.mbNo, 0, procedure(const AResult: TModalResult) begin end); end; |
Alle Zeitangaben in WEZ +1. Es ist jetzt 20:38 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz