Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

PosNameTypeDescription
<2, 1>IsFlatBooleanDetermines if the check box is flat or 3D
<2, 2>AsDataBooleanDetermines if the check box should be treated as data
<2, 3>ButtonDownBooleanDetermines if the check box states when the button goes down instead of waiting for a full click (press and release). Added in 4.1.20

A Check Box cell contains a check box to the left of the cell's contents. The cell can still be edited if CellProtection allows for it. Thus, the embedded check box has it's own protection level accessible via the CellCheckEnabled property. The current value of a cell's check box is explicitly available via the CellCheck property.

The IsFlat parameter is a true/false value indicating whether the appearance of the check box is flat (true) or 3-dimensional (false). The AsData parameter is also a true/false value indicating whether the check box should be interpreted as the cell's data. When set to true, the ARRAY and LIST properties as well as the INSERT method modify the check box value rather than the cell's text.

The ButtonDown parameter affects the clicking behavior of the check box. Normally, to change the state of the check box, the user must press the left mouse button and release it within the bounds of the check box. Releasing the button outside the check box normally cancels the click. If you want your check box to be more responsive, set this value to 1. Doing so will instantly change the state of the check box as soon as the button is pressed.

Push Button

PosNameTypeDescription
<2, 1>RowCopyBooleanIf true, then buttons on new records copy the text and image of the button in the record above it
<2, 2>EnterKeyBooleanIf true, then pressing the ENTER key clicks the button instead of navigating to the next cell
<2, 3>As DataBooleanA flag indicating whether or not the contents of the cell are treated as data

...