MessageDlgPos (Delphi)
Description
This example uses a button on a form. When you click the button, a message box with Yes, No, and Cancel buttons appears.
Code
procedure TForm1.Button1Click(Sender: TObject);
begin
// Cannot do TMsgDlgButtons() << mbYesNoCancel
Dialogs.MessageDlgPos('Are you there?', mtConfirmation, mbYesNoCancel, 0, 200, 200, mbYes);
end;
Uses
- Vcl.Dialogs.MessageDlgPos ( fr | de | ja )