Object: IUiErAnalyzer;
The Object property determines data source for express report header panel.
The UiErAnalyzer component can be used as a data source.
Executing the example requires a form, a button named Button1 positioned on this form, and the following components:
ErAnalyzerDimPanel named ErAnalyzerDimPanel1.
TabSheetBox named TabSheetBox1.
ErAnalyzerTitle named ErAnalyzerTitle1.
UiErAnalyzer named UiErAnalyzer1 which is used as a data source.
Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Begin
TabSheetBox1.Source := UiErAnalyzer1 As ITabSheetSource;
ErAnalyzerDimPanel1.Object := UiErAnalyzer1;
ErAnalyzerTitle1.Object := UiErAnalyzer1;
End Sub Button1OnClick;
After executing the example clicking the button defines the component named UiErAnalyzer1 as data source for the components TabSheetBox1, ErAnalyzerDimPanel1 and ErAnalyzerTitle1.
See also: