GetActiveContext: ISystemPadContext;
The GetActiveContext method returns context of the EaxConfigurationPanel component.
To determine a data source for the EaxConfigurationPanel component, use the IEaxConfigurationPanel.Analyzer property.
Executing the example requires a form containing the EaxConfigurationPanel component named EaxConfigurationPanel1 and the UiErAnalyzer component named UiErAnalyzer1. 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: