OnRequestControlExit

<< Click to Display Table of Contents >>

Navigation:  Events Generated by the VCL >

OnRequestControlExit

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.

OnRequestControlExit(

Sender: TVPEngine;

Obj: TVPEObject;

var CanExit: Boolean

)

Sender

the VPE object that fired the event

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