You are here: Symbol Reference > JSDialogs Namespace > Functions > JSDialogs.ShowConfirmMessage Function
LMD DialogPack
ContentsIndexHome
PreviousUpNext
JSDialogs.ShowConfirmMessage Function

Wrapper function to display an confirmation message dialog.

Pascal
function ShowConfirmMessage(const aMsg: TJSString; const AConfirm: TMsgDlgBtn = mbOK; const ACancel: TMsgDlgBtn = mbCancel): TModalResult;

JSDialogs

Displays a dialog with the Confirmation icon visible. 

 

Has OK and Cancel buttons visible. Function result will either be mrOK or mrCancel.

if ShowConfirmMessage('Are you sure you want to exit the application?') = mrOK then
  close;
Copyright © 2013 by LMD Innovative. All rights reserved.
Copyright © 2013 by LMD Innovative. All rights reserved.
What do you think about this topic? Send feedback!