Grids - ButtonStyle and OnDrawCell lazarus / 31-LCL ---------------------------------------------------------------------- faber · 2010-08-26 20:12 Can I use cbsCheckboxColumn in ButtonStyle only when I don't have assigned OnDrawCell ? I've problem with setting cbsCheckboxColumn in columns. I only see checkbox if I disable my OnDrawCell procedure. ---------------------------------------------------------------------- jesusr · 2010-08-26 21:11 That's right, cbsCheckboxColumn editor is custom draw by the grid, what you can do is something like: Code: [Select]  if ACol=3 then  // put here the condition for your checkbox or button columns     StringGrid1.DefaultDrawCell(ACol,ARow, ARect, AState)   else     ... ---------------------------------------------------------------------- faber · 2010-08-27 06:20 great - thanks!