Delphi Chromium Embedded - Refresh page with F5 -


i using delphi chromium embedded in application, , have following question: how can emulate f5 key refresh page ?

in onkeyevent use following code:

uses   ceflib;  procedure tform1.chromium1keyevent(sender: tobject;   const browser: icefbrowser; event: tcefhandlerkeyeventtype; code,   modifiers: integer; issystemkey: boolean; out result: boolean); begin   if (event = keyevent_rawkeydown) , (code = vk_f5)   begin     result := true;     chromium1.browser.reload;   end; end; 

Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -