<< Click to Display Table of Contents >>
Params |
This property is a vector of key-value pairs, which returns parameters passed to Elipse Power Viewer through the -params command prompt option. All values are returned as Strings. For example, if Elipse Power Viewer's command prompt contains the following parameters:
Viewer -params Language=ENU
Users can use the following code to check what is Elipse Power Viewer's starting language.
Sub InitialScreen_OnStartRunning()
Select Case Application.Params("Language")
Case "ENU"
Item("Text1").Value = "English"
Case Else
Item("Text1").Value = "Unrecognized language"
End Select
End Sub
NOTE |
A key's String is not case-sensitive (it may be "Language" or "language"), but returned values, specially if used with a Select command, are case-sensitive. |