GetActiveContext: ISystemPadContext;
The GetActiveContext method returns context of the EaxConfigurationPanel component.
To determine data source of the EaxConfigurationPanel component, use the IEaxConfigurationPanel.Analyzer property.
Executing the example requires a form containing the EaxConfigurationPanel component with the EaxConfigurationPanel1 identifier and the UiErAnalyzer component with the UiErAnalyzer1 identifier. Determine the UiErAnalyzer1 component as data source for the EaxConfigurationPanel1 component. Use express report as data source for the UiErAnalyzer1 component.
The example is the OnClick event handler for the form.
Sub EAXCONFIGURATIONPANELFormOnClick(Sender: Object; Args: IMouseEventArgs);
Var
sps: ISystemPadContext;
Begin
sps := EaxConfigurationPanel1.GetActiveContext;
Debug.WriteLine(sps.SystemPadId);
End Sub EAXCONFIGURATIONPANELFormOnClick;
On clicking the form the console window displays side panel component identifier - EaxDataSource.
See also: