Developer

AsBoolean

Specifies Boolean representation of value.

property AsBoolean: Boolean read GetAsBoolean write SetAsBoolean;
This property is most suitable for Check-box column type.

Example:


// get value if not NextGrid1.CellByName['First', 'Selected'].AsBoolean then... // set value NextGrid1.Cell[0, NextGrid1.LastAddedRow].AsBoolean := True;

See also