FMX.Dialogs.MessageDlgPos

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

function MessageDlgPos(const AMessage: string; const ADialogType: TMsgDlgType; const AButtons: TMsgDlgButtons; const AHelpContext: LongInt; const AX, AY: Integer): Integer;
procedure MessageDlgPos(const AMessage: string; const ADialogType: TMsgDlgType; const AButtons: TMsgDlgButtons; const AHelpContext: LongInt; const AX, AY: Integer; const ACloseDialogProc: TInputCloseDialogProc);
procedure MessageDlgPos(const AMessage: string; const ADialogType: TMsgDlgType; const AButtons: TMsgDlgButtons; const AHelpContext: LongInt; const AX, AY: Integer; const ACloseDialogEvent: TInputCloseDialogEvent; const AContext: TObject);
function MessageDlgPos(const AMessage: string; const ADialogType: TMsgDlgType; const AButtons: TMsgDlgButtons; const AHelpContext: LongInt; const AX, AY: Integer; const ADefaultButton: TMsgDlgBtn): Integer;
procedure MessageDlgPos(const AMessage: string; const ADialogType: TMsgDlgType; const AButtons: TMsgDlgButtons; const AHelpContext: LongInt; const AX, AY: Integer; const ADefaultButton: TMsgDlgBtn; const ACloseDialogProc: TInputCloseDialogProc);
procedure MessageDlgPos(const AMessage: string; const ADialogType: TMsgDlgType; const AButtons: TMsgDlgButtons; const AHelpContext: LongInt; const AX, AY: Integer; const ADefaultButton: TMsgDlgBtn; const ACloseDialogEvent: TInputCloseDialogEvent; const AContext: TObject);

C++

extern DELPHI_PACKAGE int __fastcall MessageDlgPos(const System::UnicodeString AMessage, const System::Uitypes::TMsgDlgType ADialogType, const System::Uitypes::TMsgDlgButtons AButtons, const int AHelpContext, const int AX, const int AY)/* overload */;

Properties

Type Visibility Source Unit Parent
function public
FMX.Dialogs.pas
FMX.Dialogs.hpp
FMX.Dialogs FMX.Dialogs

Description

Displays a custom dialog box at a specified position.

Use MessageDlgPos to display a dialog box that is designed according to the function's parameters:

  • Msg represents the text message of the dialog box.
  • DlgType represents the type of dialog box.
  • Buttons determines the buttons of the dialog box.
  • HelpCtx specifies the help context ID.
  • DefaultButton determines which button will be focused when the dialog box is displayed.
  • X and Y are currently ignored.

See Also