Class TMessageDlg (unit Msgdlg32)

Inherits from

TComponent

Constructors


constructor Create(AOwner: TComponent);

Destroy


Functions

destructor Destroy;

Execute

function Execute: Word;

SetMessageBoxStyle

procedure SetButtons(newValue: TMsgBoxButtons);

SetMessageBoxType

procedure SetCaption(newValue: String);

+---------------------------------------------------------------+ | Component: TMessageBox | | Created: 3/2/97 11:16:25 AM | | Author: Steven J.

procedure SetCenterOnForm(newValue: TForm);

SetDefaultButton

procedure SetDefaultButton(newValue: TDefaultBtn);

SetButtons

procedure SetMessageText(newValue: String);

SetCaption

procedure SetMsgBoxStyle(newValue: TMessageBoxStyle);

SetCenterOnForm

procedure SetMsgBoxType(newValue: TMsgBoxType);

SetMessageText

Properties

property Buttons : TMsgBoxButtons


property Caption : String


property DefaultButton : TDefaultBtn


property HelpContext : LongInt


property MessageText : String


property MsgDlgStyle : TMessageBoxStyle


property MsgDlgType : TMsgBoxType


property PositionLeft : Integer


property PositionTop : Integer


property CenterOnForm : TForm


Events

Variables

FButtons : TMsgBoxButtons;


FCaption : String;


FCenterOnForm : TForm;


FDefaultButton : TDefaultBtn;


FHelpContext : LongInt;


FMessageBoxStyle : TMessageBoxStyle;


FMessageBoxType : TMsgBoxType;


FMessageText : String;


FPositionLeft : Integer;


FPositionTop : Integer;



Constructors


constructor Create(AOwner: TComponent);

Destroy


Functions


destructor Destroy;

Execute


function Execute: Word;

SetMessageBoxStyle


procedure SetButtons(newValue: TMsgBoxButtons);

SetMessageBoxType


procedure SetCaption(newValue: String);

+---------------------------------------------------------------+ | Component: TMessageBox | | Created: 3/2/97 11:16:25 AM | | Author: Steven J. Colagiovanni | | Copyright 1997, All rights reserved. | | Description: Message Box Component | | Version: 1.00.00 | +---------------------------------------------------------------+


procedure SetCenterOnForm(newValue: TForm);

SetDefaultButton


procedure SetDefaultButton(newValue: TDefaultBtn);

SetButtons


procedure SetMessageText(newValue: String);

SetCaption


procedure SetMsgBoxStyle(newValue: TMessageBoxStyle);

SetCenterOnForm


procedure SetMsgBoxType(newValue: TMsgBoxType);

SetMessageText


Properties


property Buttons : TMsgBoxButtons


property Caption : String


property DefaultButton : TDefaultBtn


property HelpContext : LongInt


property MessageText : String


property MsgDlgStyle : TMessageBoxStyle


property MsgDlgType : TMsgBoxType


property PositionLeft : Integer


property PositionTop : Integer


property CenterOnForm : TForm


Events


Variables


FButtons : TMsgBoxButtons;


FCaption : String;


FCenterOnForm : TForm;


FDefaultButton : TDefaultBtn;


FHelpContext : LongInt;


FMessageBoxStyle : TMessageBoxStyle;


FMessageBoxType : TMsgBoxType;


FMessageText : String;


FPositionLeft : Integer;


FPositionTop : Integer;