Skip to main content

TdxCustomContainerReportLink.OnInitializeItem Event

Occurs during the report item initialization.

Declaration

property OnInitializeItem: TdxContainerReportLinkInitializeItemEvent read; write;

Remarks

The OnInitializeItem event occurs during the report item initialization. This process takes place before the OnCustomDrawItem event. The AnItem parameter represents the processed report item. The AComponent parameter specifies the aggregated component corresponding to the specified item.

Changes applied to a report item via this event handler can be saved within a file, unlike the changes applied via custom painting (see the OnCustomDrawItem event).

Note

since this event is fired when no drawing has been performed, handling it takes significantly less resources than the custom draw mechanism.

See Also