RequestControlExit

<< Click to Display Table of Contents >>

Navigation:  Events Generated by the ActiveX >

RequestControlExit

Previous pageReturn to chapter overviewNext page

[Interactive Edition and above]

The user wishes to remove the focus from the currently focused Control. In response to this event your application can evalute the value of the Control and decide, whether the current value is valid and the Control may lose the focus or not.

RequestControlExit(

ByVal Obj As TVPEObject,

CanExit As Boolean

)

Obj

the object, which fired the event

CanExit

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

Value

Description

True

yes, the control may loose the focus

False

no, the control may not loose the focus

 

See also:

Interactive Documents