Uses Windows, Comobj;
procedure TForm1.Button1Click(Sender: TObject);
var browser: olevariant;
begin
browser := CreateOleObject('InternetExplorer.Application');
windows.setparent(browser.hwnd, form1.handle); // you can use panel1.handle, etc..
browser.toolbar:=false;
browser.fullscreen:=true;
browser.Resizable:=false;
browser.visible:=true;
Browser.Navigate('http://www.lazarus.freepascal.org/');
end;
hi
i added it to panel , then when i write on edit box new website address and press go , it doesn't open in the same window it open normal explorer
what is the solution?