OBJECT Get indicator type
OBJECT Get indicator type ( {* ;} object ) : Integer
Parameter | Type | Description | |
---|---|---|---|
* | Operator | → | If specified, object is an object name (string) If omitted, object is a variable |
object | any | → | Object name (if * is specified) or Variable (if * is omitted) |
Function result | Integer | ← | 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:
Constant | Type | Value | Comment |
---|---|---|---|
Asynchronous progress bar | Integer | 3 | Circular indicator displaying continuous animation |
Barber shop | Integer | 2 | Bar displaying continuous animation |
Progress bar | Integer | 1 | Standard progress bar |
See also
Properties
Command number | 1247 |
Thread safe | ✗ |