WebGadget edit controls
Posted: Sun Jun 13, 2010 3:19 pm
When using a WebGadget, like in the WebBrowser example, the tab and del keys do not work. Is there an easy way to make the edit keys behave like in any other webbrowser?
http://www.purebasic.com
https://www.purebasic.fr/english/
Code: Select all
; below to catch tabs
Global OleObject.IOleInPlaceActiveObject
Global WebObject.IWebBrowser2 = GetWindowLong_(GadgetID(Gadget_0_HTML), #GWL_USERDATA)
CoInitialize_(0)
CoCreateInstance_(?CLSID_IOleInPlaceActiveObject, 0, 1, ?IID_IOleInPlaceActiveObject,@OleObject.IOleInPlaceActiveObject)
;end of tabs initialization