Forum > LCL
checkbox inside StringGrid [solved]
(1/1)
Robson:
Hello all
How to get value of checkbox inside StringGrid and how to mark the checkbox of a particular row x column?
an observation: Captured the value (ValueChecked = True and ValueUnchecked = False) can be used directly in a TCheckBox?
Thanks
Robson:
CheckBox1.Checked := bool(sgCampos.Cells[3,1] = 'True');
u_pri.pas(517,61) Fatal: Internal error 2010081601
How to get value of checkbox inside StringGrid and how to mark the checkbox of a particular row x column by code?
Robson:
Removing the boolean is correct
CheckBox1.Checked := (StringGrid1.Cells[3,1] = 'True');
Thanks
Navigation
[0] Message Index