Download Now
Forums

    Reference IWebBrowserEvents

    Declared in Codebot.WebKit.Controls.Win.pas on line 46

    IWebBrowserEvents and IWebInspectorEvents are the same as those declared in Codebot.WebKit.Controls.Gtk3, and are described there
      IWebBrowserEvents = interface
      public
        procedure ViewLoadChange(LoadEvent: Integer);
        procedure ViewError(const Uri: string; ErrorCode: Integer; const ErrorMessage: string; var Handled: Boolean);
        procedure ViewProgress(Progress: Integer);
        procedure ViewLocationChange(const Uri: string);
        procedure ViewTitleChange(const Title: string);
        procedure ViewNavigate(const Uri: string; var Allow: Boolean);
        procedure ViewHitTest(Context: LongWord; const Link, Media: string);
        procedure ViewContextMenu(X, Y: Integer; Context: LongWord; const Link, Media: string; var Handled: Boolean);
        procedure ViewScriptDialog(Dialog: Integer; const Message: string; var Input: string; var Accepted: Boolean);
        procedure ViewDownloadStart(Download: Pointer; const Uri: string; var FileName: string; var Allow: Boolean);
        procedure ViewDownloadProgress(Download: Pointer; Progress: Integer);
        procedure ViewDownloadFinish(Download: Pointer; Failed: Boolean; const ErrorMessage: string);
        procedure ViewInspectorRequest(var Hosted: Boolean);
      end;