Report > Report Assembly Classes > ReportEvents > ReportEvents.OnBeforeDeleteControl
OnBeforeDeleteControl(Control: IPrxControl; Var Cancel: Boolean);
Control. Control that generated the event.
Cancel. Indicates whether control is deleted.
The OnBeforeDeleteControl method implements the event that occurs before deleting a control.
Available values of the Cancel parameter:
True. Control will not be deleted.
False. Control is removed.
To implement the event that occurs on changing of regular report control value, use the ReportEvents.OnChangeControlValue method.
The method use is given in the example for IPrxReportUserEvents.EventOnBeforeDeleteControl.
See also: