FPcef disable right click button [solved] lazarus / 38-Networking and Web Programming ---------------------------------------------------------------------- Luciano Andress Martini · 2016-02-05 11:49 I want to disable in tchromium component the right click button that shows the options View source and Print. How do i disable that, i am trying to using onbeforepopup to do something that can anulate the function, but i am no having sucess, except if i close the application, but that is not so nice. Do you have some kind of function that can anulate the right click on tchromium component? ---------------------------------------------------------------------- Luciano Andress Martini · 2016-02-05 13:08 Solved! It is very simple, do a single click on your Tchromium object, inside the object inpector click on Events, double click on BeforeContextMenu, So the Procedure BeforeContextMenu event code willl appear; inside it, write a "model.clear" like this: Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i procedure TForm1.yourbrowserBeforeContextMenu(Sender: TObject;  const Browser: ICefBrowser; const Frame: ICefFrame;  const params: ICefContextMenuParams; const model: ICefMenuModel);begin    model.clear; end; This is how you can disable the contextmenu from fpcef on Lazarus.