SetPanelHtml panel,path$,fragment$=""
Description
| Displays a local HTML file inside a panel using the installed Microsoft Edge WebView2 runtime. Supply a fragment without the # to jump to a named HTML anchor. The path and anchor are passed separately, so spaces and # characters in filenames remain valid. The viewer resizes with its panel and is destroyed with it. HideGadget, ShowGadget and ActivateGadget control the panel and viewer. Navigation is asynchronous; unavailable WebView2 produces an explanatory dialog. Requires Extended mode. See also: CreatePanel, SetGadgetToolTip, WaitEvent. |
Index