TStringDateEditor lazarus / 31-LCL ---------------------------------------------------------------------- mtanner · 2018-03-28 12:55 I've seen a document online that talks about using a TStringDateEditor with a TStringGrid, but I cannot find the component in the Lazarus files. Where can I find it? Also will the alternative editors for TStringGrid work with a TDrawGrid? ---------------------------------------------------------------------- wp · 2018-03-28 14:34 Use a cbsEllipsis editor and write an OnButtonClick handler to open a CalendarDialog. Yes, the other cell editors work too. You must write handlers for OnGetEdit to get the external data into the editor as a string, and for OnSetEditText to display the edited text into the grid. In OnValidateEntry you can pass the edited string back to the external storage (or not, of the string is not valid). ---------------------------------------------------------------------- mtanner · 2018-03-28 16:21 Thanks for that.  I have set up a cbsEllipsis editor ok. But now I cannot find in the documentation how to assign an OnClick event to the ellipsis editor button -the wiki page on grid misses out this trivial but vital bit of info! So how do I assign the onclick event please? ---------------------------------------------------------------------- mtanner · 2018-03-28 16:27 Actually I've just found it - what puzzled me is that the event is on the grid not the editor button itself. ---------------------------------------------------------------------- wp · 2018-03-28 18:59 The grids wiki is always extremely helpful (here: http://wiki.lazarus. freepascal.org/Grids_Reference_Page#Grid_Cell_Editors).