[Solved] StringGrid with popup multi-line editor lazarus / 31-LCL ---------------------------------------------------------------------- Graeme · 2015-07-02 10:24 Currently I have a standard StringGrid that allows inline editing of cell text. The one column is a "Comments" column, and the grid cell is too small to enter a long comment. So I want the grid to show a [...] button, and when clicked, bring up a dialog containing a Memo, OK and Cancel button. That way they can easily enter larger multi-line comments. On clicking OK, the popup dialog disappears and the grid cell now contains the changed text (it doesn't matter that the text will not fit). How do I create such a [...] button inside a StringGrid cell? The idea is something like what the Object Inspector does for the Anchor property. See attached screenshot. The button must not cover the whole grid cell, only the right edge of the sell, just like can be seen in the attached screenshot. Any help would be much appreciated. ---------------------------------------------------------------------- wp · 2015-07-02 10:42 http://wiki.lazarus.freepascal.org/Grids_Reference_Page#Grid_Cell_Edit ors ---------------------------------------------------------------------- howardpc · 2015-07-02 10:45 Also look at ...\lazarus\examples\gridexamples\columeditors\stringgrideditor.lpi The sixth column in the example has exactly the ellipsis button executing a modal dialog that you are after. ---------------------------------------------------------------------- Graeme · 2015-07-02 10:46 Thank you so much for the fast response. I didn't no the terminology used, so kept searching for the wrong things. That wiki pages seems exactly the info I need.