Unit Dialogs
InputBox:
[Unit Dialogs] procedure TForm1.Button1Click(Sender: TObject);
|
InputQuery:
[Unit Dialogs] procedure TForm1.Button1Click(Sender: TObject);
|
Show a Message:
begin ShowMessage('Remember to delete unwanted Backup Files!'); end; |
Show a two line Message:
procedure TForm1.Button2Click(Sender: TObject);
|
ShowMessagePos:
procedure TForm1.Button1Click(Sender: TObject);
|
MessageDlg using mtInformation:
procedure TForm1.Button1Click(Sender: TObject);
|
MessageDlg using mtWarning:
procedure TForm1.Button1Click(Sender: TObject);
Other types of message dialog box you can use
are :
Other types of Buttons you can have are:
|
MessageDlgPos:
procedure TForm1.Button1Click(Sender: TObject);
The 200, 20 is the position of the Message Dialog box on your screen. |