AGI STK X 11Send comments on this topic.
OnScenarioLoad Event (AgSTKXApplication)
See Also
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 void onScenarioLoad(
    String Path
);
[Unmanaged C++]
public: void OnScenarioLoad(
    BSTR  Path
);

Parameters

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

See Also

Example

[Visual Basic .NET]
Private Sub stkxApp_OnScenarioLoad(ByVal Path As String) _
Handles stkxApp.OnScenarioLoad
MessageBox.Show("STK X - Scenario loaded: " & Path)
End Sub
© 2019 Analytical Graphics, Inc. All Rights Reserved.