Skip to main content
Version: Next

OBJECT Get indicator type

OBJECT Get indicator type ( {* ;} object ) -> Function result

ParameterTypeDescription
*Operator🡒If specified, object is an object name (string)
If omitted, object is a variable
objectForm object🡒Object name (if * is specified) or Variable (if * is omitted)
Function resultLongint🡐Indicator type

Description

The OBJECT Get indicator type command returns the current indicator type assigned to the thermometer(s) designated by the object and * parameters.

You can set the indicator type using the Property List in Design mode, or using the OBJECT SET INDICATOR TYPE command.

Passing the optional * parameter indicates that the object parameter is an object name (string). If you do not pass this parameter, it indicates that the object parameter is a field or variable. In this case, you pass a field or variable reference instead of a string (field or variable object only).

You can compare the value returned by the command with the following constants, found in the "Form Objects (Properties)" theme:

ConstantTypeValueComment
Asynchronous progress barLongint3Circular indicator displaying continuous animation
Barber shopLongint2Bar displaying continuous animation
Progress barLongint1Standard progress bar

See also

OBJECT SET INDICATOR TYPE