GaugeGetCriticalNumber nethod (WinStudio scripts)

Applies To

IWSFormComponent interface

Definition

Returns the Critical Number to which the gauge is bound for a Critical Number-bound gauge.

Syntax

object.GaugeGetCriticalNumber()

Part Description
object Required. A reference to a valid gauge component object.

Remarks

The return value is an integer representing the Critical Number that is shown by the gauge.

Example

Sub Main()
    Application.ShowMessage(ThisForm.Components("gauge1").GaugeGetCriticalNumber)
End Sub