Object: IUiReport;
The Object property determines the UiReport component that is to be used as a data source for the ReportControlPanel component.
Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Begin
ReportControlPanel1.Object := UiReport1;
End Sub Button1OnClick;
After executing the example and clicking the button, the component named UiReport1 is set as a data source for the ReportControlPanel1 object.
See also: