This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com

Home

 
4D v20 R7
OBJECT Get indicator type

OBJECT Get indicator type 


 

OBJECT Get indicator type ( {* ;} object ) -> Function result 
Parameter Type   Description
Operator in If specified, object is an object name (string) If omitted, object is a variable
object  Form object in Object name (if * is specified) or Variable (if * is omitted)
Function result  Longint in Indicator type

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 Longint 3 Circular indicator displaying continuous animation
Barber shop Longint 2 Bar displaying continuous animation
Progress bar Longint 1 Standard progress bar



See also 

OBJECT SET INDICATOR TYPE

 
PROPERTIES 

Product: 4D
Theme: Objects (Forms)
Number: 1247

 
PAGE CONTENTS 
 
HISTORY 

Created: 4D v14

 
ARTICLE USAGE

4D Language Reference ( 4D v20 R7)