dbgrid1.Columns.ColumnByFieldname('select').ValueChecked := '1';
dbgrid1.Columns.ColumnByFieldname('select').valueunchecked := '0';
dbgrid1.Columns.ColumnByFieldname('select').ButtonStyle := cbsCheckboxColumn;
cannot compile :
Error: identifier not found "cbsCheckboxColumn"
any suggestion ?
-------------------------------------------------------------
help states:
TColumnButtonStyle
Enumeration with cell editor types available in a grid control.
Declaration
Source position: grids.pas line 153
type
TColumnButtonStyle = (
cbsAuto,
cbsEllipsis,
cbsNone,
cbsPickList,
cbsCheckboxColumn,
cbsButton,
cbsButtonColumn
);
Description
fpc 3.2.2
laz 3.2
win/64