Hello,

   Thanks for the answer and your loyalty , by  way the   example in  ( 
mseuniverse\samples\db\gridselectedrow\)  works only when the grid is  a 
tdbstringgrid and not  for a tdbwidgetgrid. Without wishing to order you,  
would you like to have a look?

Best Regards.

Med.

De : fredvs <[email protected]>
Envoyé : samedi 2 novembre 2019 12:54
À : [email protected] 
<[email protected]>
Objet : Re: [MSEide-MSEgui-talk] Grid

fredvs wrote
> Hello Med.
>
> Nice that you have found a solution!
>
> By the way, I finally found how to deal with 2xclick on a cell.
>
> ...

Re-hello.

Ooops, something was missing in previous code, here the good one:

procedure agrid.oncellev(const Sender: TObject; var info: celleventinfoty);
begin

if (info.eventkind = cek_buttonrelease) 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;


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
_______________________________________________
mseide-msegui-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Reply via email to