DBGrid / OnCellClick - Event lazarus / 16-Databases ---------------------------------------------------------------------- uli65 · 2011-11-09 11:55 Hello, I know, that the problem with the OnCellClick-Event (execute only after second click) was fixed for 0.9.31 (target 0.99) (http://bugs.freepascal.org/view.php?id=19818. But I need a fix for 0.9.30.2, too..... Best regards Uli65 ---------------------------------------------------------------------- jesusr · 2011-11-09 19:54 I can not guarantee that it the needed patch will be merged, but you can download the patches and try them, if everything goes fine we will have a better argument to ask for a merge. I don't use 0.9.30.x so I can't test but I don't anticipate big problems. Can you do it? the patches are: http://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/lcl/dbgrids.pas?r1= 31812&r2=31811&pathrev=31812&root=lazarus&view=patch http://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/lcl/grids.pas?r1=31 812&r2=31811&pathrev=31812&root=lazarus&view=patch ---------------------------------------------------------------------- uli65 · 2011-11-09 21:52 It looks very good!!! Thank you very much! ---------------------------------------------------------------------- jesusr · 2011-11-10 18:48 does it mean that you actually tested? o just you took a look? ---------------------------------------------------------------------- uli65 · 2011-11-10 21:40 Yes, I tested it in a current developed application. ---------------------------------------------------------------------- sandy.sakti · 2011-11-11 07:07 Quote from: jesusr on November 09, 2011, 08:54:22 pmI can not guarantee that it the needed patch will be merged, but you can download the patches and try them, if everything goes fine we will have a better argument to ask for a merge. I don't use 0.9.30.x so I can't test but I don't anticipate big problems. Can you do it? the patches are: http://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/lcl/dbgrids.pas?r1= 31812&r2=31811&pathrev=31812&root=lazarus&view=patch http://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/lcl/grids.pas?r1=31 812&r2=31811&pathrev=31812&root=lazarus&view=patch Can anyone please tell me how to use this patch? ---------------------------------------------------------------------- uli65 · 2011-11-11 08:54 In the attachment you find the fixed files "dbgrids.pas" and "grids.pas" as 7zip-Archive.  Replace the files at "\lazarus\lcl" and compile Lazarus incl. LCL again. ---------------------------------------------------------------------- JuhaManninen · 2011-11-11 09:18 If they merge cleanly you can add the revs here:   http://wiki.lazarus.freepascal.org/Lazarus_0.9.30_fixes_branch At some point I will start backporting to branch 0.9.30.3 (unless other volunteers pop up). sandy.sakti, to apply a patch :   http://wiki.lazarus.freepascal.org/Creating_A_Patch#Applying_a_patch Juha ---------------------------------------------------------------------- sandy.sakti · 2011-11-16 00:21 Thx all for the reply... I'll try it first...