Icon MessageDlg Method

procedure MessageDlg(const Msg: String; const DlgCaption: String;
       DlgType: TMsgDlgType; const Buttons: TMsgDlgBtns;
      DefaultButton: TMsgDlgBtn; MsgDlgResult: TMsgDlgResultEvent=nil;
      DlgClose: Boolean=False; AnimationStyle: TAnimationStyle=asNone;
      AnimationDuration: Integer=0)

Usage

Available In: Visual Client Applications

Use this method to display a modal message dialog. Please see the MessageDlg procedure for more information on the parameters to this method.
Image