STK X Send comments on this topic.
OnScenarioLoad Event (AgSTKXApplication)
See Also  Example
Path
Full path to the scenario file (.sc).
Windows






Windows & Linux

Description

Triggered when a scenario is loaded.

Syntax

[Visual Basic .NET]
Public Event OnScenarioLoad( _
   ByVal Path As String _
)

[C#]
public void OnScenarioLoad(
string Path
);

[Managed C++]
public: void OnScenarioLoad(
String __gc ^ Path
);

[Java]
public  onScenarioLoad(
String Path
);

[Unmanaged C++]
public: HRESULT OnScenarioLoad(
BSTR Path
);

Parameters

Path
Full path to the scenario file (.sc).

Example

[Visual Basic .NET] Copy Code
Private Sub stkxApp_OnScenarioLoad(ByVal Path As String) _
                Handles stkxApp.OnScenarioLoad
    MessageBox.Show("STK X - Scenario loaded: " & Path)
End Sub

See Also

© 2017 Analytical Graphics, Inc. All Rights Reserved.

STK 11.2.1 Programming Interface