Skip to main content
Version: 20 R7 BETA

OBJECT Get indicator type

OBJECT Get indicator type ( {* ;} object ) : Integer

ParameterTypeDescription
*OperatorIf specified, object is an object name (string)
If omitted, object is a variable
objectanyObject name (if * is specified) or Variable (if * is omitted)
Function resultIntegerIndicator type

This command is not thread-safe, it cannot be used in preemptive code.

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 barInteger3Circular indicator displaying continuous animation
Barber shopInteger2Bar displaying continuous animation
Progress barInteger1Standard progress bar

See also

OBJECT SET INDICATOR TYPE