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
Index | Description |
---|---|
field | Index to an existing field |
record | Index 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)