| << Click to Display Table of Contents >> EnableCloseButton |     | 
[GUI Control Only, not supported by the Community Edition]
Specifies, whether the Close Button in the Preview is enabled (= activated, so the user can push it).
If the preview is external (ExternalWindow = True), the close controls of the window (including the system-menu) are also disabled.
You can use this property to temporarily lock the preview from being closed by the user.
property boolean VPE.EnableCloseButton
write; runtime
Possible Values:
| Value | Description | 
| True | enabled | 
| False | disabled | 
Default:
enabled (= Close Button is enabled)
Remarks:
This property does not control, whether the button is visible in the toolbar or not (see tbClose).