4D v14.3

OBJECT SET THREE STATES CHECKBOX

Home

 
4D v14.3
OBJECT SET THREE STATES CHECKBOX

OBJECT SET THREE STATES CHECKBOX 


 

OBJECT SET THREE STATES CHECKBOX ( {* ;} object ; threeStates ) 
Parameter Type   Description
Operator in If specified, object is an object name (string) If omitted, object is a field or variable
object  Form object in Object name (if * is specified) or
Field or variable (if * is omitted)
threeStates  Boolean in True = three-states checkbox, False = standard checkbox

The OBJECT SET THREE STATES CHECKBOX command modifies, for the current process, the "Three-States" property of the checkbox(es) designated by the object and * parameters.

The "Three-states" option allows the additional "semi-checked" state to be used for checkboxes. For more information, refer to Three-States check box  in the Design Reference manual. 

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). 

This command only applies to checkboxes associated with variables, and not to Boolean fields that are represented as checkboxes. 

In the threeStates parameter, pass True to enable the "three states" mode, or False to disable it.

 
PROPERTIES 

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

 
HISTORY 

New
Created: 4D v14

 
SEE ALSO 

OBJECT Get three states checkbox

 
ARTICLE USAGE

4D Language Reference ( 4D v14 R3)
4D Language Reference ( 4D v14 R2)
4D Language Reference ( 4D v14.3)
4D Language Reference ( 4D v14 R4)