Hi Martin,

How to correctly handle grid double click? I have this code executed
on double click on row:

tdrawgrid1.oncellevent := @GridCellEvent;

procedure TGenericListWidget.GridCellEvent(const sender: tobject;
  var info: celleventinfoty);
begin
  if (info.eventkind in [cek_buttonpress]) and
     (ss_double in info.mouseeventinfopo^.shiftstate)
  then
    Dosomething(Sender);
end;

Problem is that when I double click on column splitter for autosize
then code above is executed too. How to avoid this?

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
mseide-msegui-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Reply via email to