Cita:
Empezado por aanil
por algo que sea adecuado a lo que estoy haciendo.
|
Bueno, pues como ya te he dicho, MessageDlg o Application.MessageBox
Cita:
|
Empezado por Ayuda de Delphi
Unit
Dialogs
MessageDlg displays a message dialog box in the center of the screen.
function MessageDlg(const Msg: string; AType: TMsgDlgType;
AButtons: TMsgDlgButtons; HelpCtx: Longint): Word;
Description
Call MessageDlg to bring up a message box and obtain the user's response. The message box displays the value of the Msg parameter.
The AType parameter determines the type of message box that appears. These are the possible values:
[...]
The AButtons parameter determines which buttons appear in the message box. AButtons is of type TMsgDlgBtns, which is a set, so it can include multiple buttons. These are the values that can be included:
[...]
MessageDlg returns the value of the button the user selected. These are the possible return values:
[...]
|
Hasta trae un ejemplo
Cita:
|
Empezado por Ayuda de Delphi
MessageBox displays a specified message to the user.
function MessageBox(Text, Caption: PChar; Flags: Longint): Integer;
Description
Use MessageBox to displays a generic dialog box a message and one or more buttons. Caption is the caption of the dialog box and is optional.
MessageBox is an encapsulation of the Windows API MessageBox function. TApplication’s encapsulation of MessageBox automatically supplies the missing window handle parameter needed for the Windows API function.
|
Salu2.