WebGadget()
Syntax
WebGadget(#Gadget, x, y, Width, Height, URL$)
Description
Create a Web gadget in the current GadgetList. #Gadget will be the numeric identifiant returned by EventGadgetID() command. The following commands can be used to act on a WebGadget:
- SetGadgetText(): Changes the current URL.
- GetGadgetText(): Get the current URL.
- SetGadgetState(): Do some action on the gadget. The following constants are valid:#PB_Web_Back : One step back in the navigation. #PB_Web_Forward: One step forward in the navigation. #PB_Web_Stop : Stop the current page loading #PB_Web_Refresh: Refresh the current pageNote: on Microsoft Windows the WebGadget uses Internet Explorer 4.0+ ActiveX object. This means than IE has too be installed (already present on Win98/Me and Win2000/XP). The ATL.dll, present in the PureBasic\Compilers\ directory is needed too, in the same directory than the executable.
Supported OS
Windows