StringGrid cbs... events lazarus / 31-LCL ---------------------------------------------------------------------- asdf · 2011-02-05 16:43 1. cbsCheckBoxColumn     I have assigned ValueChecked = '1' & ValueUnchecked = '0'     and in a column of every row StringGrid1.Cells[x,x] = '0' = unchecked.    When I clicked/ticked such a cell to have it checked, what is the procedure for this event ? I tried to use StringGrid1Check, it gave '1' after this procedure finished, not in the procedure.   2. cbsButtonColumn ... what is the procedure for this event ? And how can I put a small .jpg picture on the button when click it. 3. cbsPickList ... what is the procedure for this event ? ---------------------------------------------------------------------- Blaazen · 2011-02-05 18:39 Methods are: 1) TStringGrid.OnCheckBoxToggled 2) TStringGrid.OnEditButtonClick 3) TStrinGrid.OnPickListSelect but I don't know if it is possible to paint picture on these buttons. Usually only text. Maybe some OwnerDraw method but I never did it. And better no *.jpg. Rather use small *.png for application icons on BitBtns glyphs.