Show contents 

Report > Report Assembly Classes > ReportEvents > ReportEvents.OnBeforeDeleteControl

ReportEvents.OnBeforeDeleteControl

Syntax

OnBeforeDeleteControl(Control: IPrxControl; Var Cancel: Boolean);

Parameters

Control. Control that generated the event.

Cancel. Indicates whether control is deleted.

Description

The OnBeforeDeleteControl method implements the event that occurs before deleting a control.

Comments

Available values of the Cancel parameter:

To implement the event that occurs on changing of regular report control value, use the ReportEvents.OnChangeControlValue method.

Example

The method use is given in the example for IPrxReportUserEvents.EventOnBeforeDeleteControl.

See also:

ReportEvents