EmEditor Home - EmEditor Help - EmEditor Macro Reference - Window Object

confirm Method

Displays a message in a simple dialog box with the OK button and the Cancel button.

[JavaScript]

bAnswer = confirm( strQuestion );

[VBScript]

bAnswer = confirm( strQuestion )

Parameters

strQuestion

Specifies a message to be displayed.

Return Values

Returns true if the OK button is selected, or false if the Cancel button is selected.

Version

Supported on EmEditor Professional Version 4.00 or later.

Copyright 2003-2014 by Emurasoft, Inc.