Download Now
Forums

    Reference Codebot.WebKit.Controls.Win.pas

    Part of the Codebot WebKit package

    The Codebot.WebKit.Controls.Win unit implements TWebBrowser and TWebInspector for the Win32 widgetset using Microsoft Edge WebView2. The web view is created in the background once the control's window exists, and any requests made before it is ready are kept and carried out when it is. Its events are passed on to the controls using the same values as WebKitGTK, so your code works the same on both platforms.

    WebView2 can only show its developer tools in a window of their own, so TWebInspector shows the developer tools page of the WebView2 debugging server instead. The server only listens on the local computer, and is only started when an inspector control is created before the first web view. Without one, the developer tools open in their own window.

    A control has no web view at design time, or when WebView2Loader.dll or the WebView2 runtime is missing.

    Items 64 items

    NameKindLine
    InitWebKitfunction138
    InspectorControlCreatedprocedure133
    IWebBrowserEventsinterface46
    ViewContextMenuprocedure56
    ViewDownloadFinishprocedure63
    ViewDownloadProgressprocedure62
    ViewDownloadStartprocedure60
    ViewErrorprocedure49
    ViewHitTestprocedure55
    ViewInspectorRequestprocedure65
    ViewLoadChangeprocedure48
    ViewLocationChangeprocedure52
    ViewNavigateprocedure54
    ViewProgressprocedure51
    ViewScriptDialogprocedure58
    ViewTitleChangeprocedure53
    IWebInspectorEventsinterface68
    ViewInspectorClosedprocedure70
    TWSWebBrowserclass79
    BackOrForwardprocedure94
    BackOrForwardExistsfunction95
    CancelDownloadprocedure106
    CaptureToClipboardprocedure102
    CreateHandlefunction81
    DestroyHandleprocedure82
    Downloadprocedure105
    DownloadFolderfunction107
    ExecuteScriptprocedure93
    FocusViewprocedure87
    GetLoadingfunction92
    HistoryItemfunction103
    Loadprocedure88
    LoadHtmlprocedure89
    Printprocedure101
    Reloadprocedure91
    SetDeveloperToolsprocedure99
    SetEditableprocedure96
    SetZoomFactorprocedure97
    SetZoomTextOnlyprocedure98
    ShowHideprocedure83
    ShowInspectorprocedure100
    Stopprocedure90
    UpdateBoundsprocedure85
    TWSWebInspectorclass120
    Closeprocedure128
    CreateHandlefunction122
    DestroyHandleprocedure123
    Openprocedure127
    ShowHideprocedure124
    UpdateBoundsprocedure126
    WEBKIT_HIT_TEST_RESULT_CONTEXT_DOCUMENTconstant30
    WEBKIT_HIT_TEST_RESULT_CONTEXT_EDITABLEconstant34
    WEBKIT_HIT_TEST_RESULT_CONTEXT_IMAGEconstant32
    WEBKIT_HIT_TEST_RESULT_CONTEXT_LINKconstant31
    WEBKIT_HIT_TEST_RESULT_CONTEXT_MEDIAconstant33
    WEBKIT_HIT_TEST_RESULT_CONTEXT_SCROLLBARconstant35
    WEBKIT_HIT_TEST_RESULT_CONTEXT_SELECTIONconstant36
    WEBKIT_LOAD_COMMITTEDconstant27
    WEBKIT_LOAD_FINISHEDconstant28
    WEBKIT_LOAD_REDIRECTEDconstant26
    WEBKIT_LOAD_STARTEDconstant25
    WEBKIT_SCRIPT_DIALOG_ALERTconstant38
    WEBKIT_SCRIPT_DIALOG_CONFIRMconstant39
    WEBKIT_SCRIPT_DIALOG_PROMPTconstant40