RequestClose Event

<< Click to Display Table of Contents >>

Navigation:  Events Generated by the ActiveX >

RequestClose Event

Previous pageReturn to chapter overviewNext page

VPE requests confirmation from your application, if the preview can be closed.

OnRequestClose(

CanClose as Boolean

)

CanClose

is a return-parameter, i.e. you can assign it one of the following values to control the resulting action of VPE:

Value

Description

False

no, the preview may not be closed

True

Otherwise