WinStudio

GaugeSetCaptionFormat Method

Applies To

IWSFormComponent interface

Definition

Sets the Caption Format (None, Short, Long, Default) for a critical number bound gauge.

Syntax

object.GaugeSetCaptionFormat(string)

Part Description
object Required. A reference to a valid gauge component object.
string Required. A string that represents the new format for the gauge caption.

Remarks

Valid values are:

Example

Sub Main()
    ThisForm.Components("gauge1").GaugeSetCaptionFormat("Default")
End Sub