ArcObjects Library Reference (Controls)  

IEngineNAWindowEvents.OnActiveAnalysisChanged Event

Called when the active analysis changes.

[Visual Basic 6.0]
Event OnActiveAnalysisChanged
[Visual Basic .NET]
Public Event OnActiveAnalysisChanged As OnActiveAnalysisChangedEventHandler
[C#]
public event OnActiveAnalysisChangedEventHandler OnActiveAnalysisChanged
[C++]
HRESULT OnActiveAnalysisChanged(
void
);

Product Availability

Available with ArcGIS Engine.

Description

The OnActiveAnalysisChanged event is fired when a  NALayer is chosen from the dropdown at the top of the IEngineNetworkAnalystEnvironment::NAWindow or the IEngineNAWindow::ActiveAnalysis is programatically set.

The event is not fired when the IEngineNAWindow::ActiveAnalysis property is set programatically to Nothing or if IEngineNAWindow::DelayEvents has been set to true.

See Also

IEngineNAWindowEvents Interface