Show contents 

Express > Express Assembly Interfaces > IEaxConfigurationPanel > IEaxConfigurationPanel.GetActiveContext

IEaxConfigurationPanel.GetActiveContext

Syntax

GetActiveContext: ISystemPadContext;

Description

The GetActiveContext method returns context of the EaxConfigurationPanel component.

Comments

To determine a data source of the EaxConfigurationPanel component, use the IEaxConfigurationPanel.Analyzer property.

Example

Executing the example requires a form containing containing the EaxConfigurationPanel component named EaxConfigurationPanel1 and the UiErAnalyzer component named 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:

IEaxConfigurationPanel