Press and hold event on TWebDBGrid and TWebStringGrid

Hi,
I would like to detect the long press event on a cell of theses grids : TWebDBGrid and TWebStringGrid

Is it possible ? I see touch properties with gesture but I don't know how it works.

Thanks for your help

Afaik, there isn't a JavaScript event mapped on this, hence, we can't expose this as an Object Pascal event.
I would guess that the best way forward is to use OnMouseDown/OnMouseUp/OnMouseMove and detec the time between down & up without move and from there let your logic decide whether this is a long tap.

Hi,

Thanks for your support. Indeed, I went on this way of doing, detecting the time between OnMouseDown en OnMouseUP