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






Windows & Linux

Description

Triggered when a new scenario is created.

Syntax

[Visual Basic .NET]
Public Event OnScenarioNew( _
    ByVal Path As String _
) 
[C#]
public void OnScenarioNew(
    string Path
);
[Managed C++]
public: void OnScenarioNew(
    String __gc ^ Path
);
[Java]
public void onScenarioNew(
    String Path
);
[Unmanaged C++]
public: void OnScenarioNew(
    BSTR  Path
);

Parameters

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

See Also

Example

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