delphi - TChromium How To Catch OnMiddleMouseClick Event? -
i need open link in new tab, if pressed middle mouse button, there no events in tchromium, onmousedown or else. there onprekeyevent , onkeyevent, not need. allmost tryed catch click events, this:
procedure tform1.chromiumprekeyevent(sender: tobject; const browser: icefbrowser; const event: pcefkeyevent; osevent: pmsg; out iskeyboardshortcut, result: boolean); begin if(event.windows_key_code=13) showmessage('enter pressed pre key event : '+inttostr(event.windows_key_code)) end;
but not working mouse buttons. can me ? thanks.
Comments
Post a Comment