> by way the example in ( mseuniverse\samples\db\gridselectedrow\) works only when the grid is a tdbstringgrid and not for a tdbwidgetgrid.
Hum, indeed, if adding in the sample: ------- procedure tmainfo.oncellev(const sender: TObject; var info: celleventinfoty); begin if (info.eventkind = cek_buttonpress) then // that was missing if (ss_double in info.mouseeventinfopo^.shiftstate) then begin // here what to do if double-click on the cell end; end; ---------------- I get, while compliing that error message: main.pas(47,22) Error: Identifier not found "cek_buttonpress" main.pas(56) Fatal: There were 1 errors compiling module, stopping Strange because property oncellevent is published in tdbwidgetgrid (who is descendant from tcustomdbwidgetgrid). Sorry, I am lost. Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ _______________________________________________ mseide-msegui-talk mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

