Establishes whether a cell's check box is enabled or disabled.

Usage

Set_Property(OLECtrlEntID, "OLE.CellCheckEnabled[field; record]", Boolean)

Values

[True | False]

Default: True

Indices

IndexDescription
fieldIndex to an existing field
recordIndex to an existing record

Remarks

The CellCheckEnabled property provides a way to enable or disable a check box in a cell. Set this to TRUE to enable or FALSE to disable. By default, check boxes are enabled and are not affected by the value of the CellProtection property. To get or set the value of the check box, use the CellCheck property.

This property is only valid for cell's whose CellType property has been set to "Check Box."

Example

 

// Disable all check boxes in the first column 
Set_Property(@Window:".OLE_EDITTABLE", "OLE.CellCheckEnabled[1; All]", 0) 

// Enabled all check boxes 
Set_Property(@Window:".OLE_EDITTABLE", "OLE.CellCheckEnabled[All; All]", 1)

See Also

CellTypeCellCheck

  • No labels