[Solved] TValueListEditor controling when user try to edit a value? lazarus / 31-LCL ---------------------------------------------------------------------- BlueIcaro · 2018-03-25 15:06 Hi, I want to use a TValueListEditor on my program. But when User wants edit a value, I want to use my custom editor. For example: If user wants edit a value, when he clicks on value box, I'll show a modal form, when the user can write/edit the value. Then write back the value to the TValueListEditor How can I do it? ---------------------------------------------------------------------- Blaazen · 2018-03-25 15:36 Common custom cell editors, like edit, combo etc. are implemented using OnSelectEditor event (TValueEditor is TCustomStringGrid descendant). I never tried dialog (modal form) but I should try to hook in that event. ---------------------------------------------------------------------- wp · 2018-03-25 15:46 It is the same as TStringGrid. Read the grids documentation: http://wi ki.lazarus.freepascal.org/Grids_Reference_Page#Builtin_cell_editors A working example is in the attachment. ---------------------------------------------------------------------- BlueIcaro · 2018-04-02 12:26 Quote from: wp on March 25, 2018, 05:46:20 pmIt is the same as TStringGrid. Read the grids documentation: http://wiki.lazarus.freepas cal.org/Grids_Reference_Page#Builtin_cell_editors A working example is in the attachment. Thanks, It's works as I excepted /BlueIcaro