Topic: Message Dialog - Confirmation
Hello, how to create a confirmation box with Yes, no, and Cancel buttons with script?
Thanks
My Visual Database → Script → Message Dialog - Confirmation
Hello, how to create a confirmation box with Yes, no, and Cancel buttons with script?
Thanks
Hello )
// mbYes is 6
// mbNo is 7
// mbCancel is 2
if 6 = MessageDlg('Really?', mtConfirmation, mbYes + mbNo + mbCancel, 0) then
ShowMessage('Yes')
else ShowMessage('No');
Sorry script below not yet work?
Pls, can you check and correct the script below for exit application. Form1_Button7_click ( action again for this project )
Thanks in advance, Carlo
//MessageDlg(Msg: string; DlgType: TMsgDlgType; Buttons: TMsgDlgButtons; HelpCtx: Longint): Integer
//ShowMessage(Msg: Variant)
// mbYes is 6
// mbNo is 7
// mbCancel is 2
////if 6 = MessageDlg('Really?', mtConfirmation, mbYes + mbNo + mbCancel, 0) then
//// ShowMessage('Yes')
//// else ShowMessage('No');
//procedure Form1_Button7_Click (Sender: TObject);
//begin
// MessageDlg(Msg: string; DlgType: TMsgDlgType; Buttons: TMsgDlgButtons; HelpCtx: Longint): Integer
// if 6 = MessageDlg('Welcome to my Delphi application. Exit now?',
// mtConfirmation, [mbYes, mbNo], 0, mbYes) = mrYes then
// begin
// Dialogs.MessageDlg('Exiting the Delphi application.', mtInformation,
// [mbOk], 0, mbOk);
// Close;
// end;
//end;
Please, send me project with this script to support@drive-software.com
Hi, I add AC-Test_DEV01.7z file to my schared MVDB TestPerf dropbox folder. Thanks
I don't see this file in folder, please send me shared link.
Thanks.
pls, try again. Thanks
I did it, replace script file in your project.
Thanks, it works now.
My Visual Database → Script → Message Dialog - Confirmation
Powered by PunBB, supported by Informer Technologies, Inc.
Theme Hydrogen by Kushi