Show/Hide Toolbars

EmEditor Help

Navigation: EmEditor Help > Macro Reference > Window Object > Methods

EmEditor Macro Reference: confirm Method

Scroll Prev Top Next More
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.


bAnswer = confirm( strQuestion );


bAnswer = confirm( 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.


Supported on EmEditor Professional Version 4.00 or later.

Copyright © 2003-2016 by Emurasoft, Inc.