Reference Codebot.WebKit.Controls.Extras.pas
Part of the Codebot WebKit package
The Codebot.WebKit.Controls.Extras unit gives you controls that work alongside a TWebBrowser.
TWebAddressBar is a bar for navigating a browser. Its edit shows the location of the page, and when the user types an address and presses Enter the browser loads it, while Escape puts the location back. You choose its buttons with Buttons: back, forward, home, refresh, history, inspector, print, capture, downloads, and settings. The navigation buttons sit to the left of the edit and the tool buttons to the right. By default it shows back, forward, and refresh. OnButtonClick is invoked before the bar acts on a click, so you can set Handled to True to do something else, and the settings button does nothing unless you handle it.
TWebStatusIndicator shows the address of the link under the mouse, or the page being loaded when there is no link, along with the progress of the load.
Set the WebBrowser property of either control to your browser and it follows it from then on.
Items 49 items
| Name | Kind | Line |
|---|---|---|
| DefaultAddressButtons | constant | 56 |
| TWebAddressBar | class | 65 |
| ButtonClick | procedure | 97 |
| Create | constructor | 94 |
| Destroy | destructor | 95 |
| Notification | procedure | 91 |
| Resize | procedure | 92 |
| Align | property | 99 |
| Anchors | property | 100 |
| BorderSpacing | property | 101 |
| Buttons | property | 103 |
| Constraints | property | 104 |
| Enabled | property | 105 |
| Font | property | 106 |
| HomePage | property | 108 |
| OnButtonClick | property | 114 |
| ParentFont | property | 109 |
| Visible | property | 110 |
| WebBrowser | property | 112 |
| TWebAddressButton | enum | 32 |
| abBack | enum value | 34 |
| abForward | enum value | 36 |
| abHome | enum value | 38 |
| abRefresh | enum value | 40 |
| abHistory | enum value | 42 |
| abInspect | enum value | 44 |
| abPrint | enum value | 46 |
| abCapture | enum value | 48 |
| abDownloads | enum value | 50 |
| abSettings | enum value | 52 |
| TWebAddressButtonEvent | procedural | 62 |
| TWebAddressButtons | set | 53 |
| TWebStatusIndicator | class | 122 |
| Create | constructor | 133 |
| Destroy | destructor | 134 |
| Notification | procedure | 130 |
| Paint | procedure | 131 |
| Align | property | 140 |
| Anchors | property | 141 |
| BorderSpacing | property | 142 |
| Color | property | 143 |
| Constraints | property | 144 |
| Font | property | 145 |
| Link | property | 136 |
| ParentColor | property | 146 |
| ParentFont | property | 147 |
| Progress | property | 138 |
| Visible | property | 148 |
| WebBrowser | property | 150 |