Link to home
Start Free TrialLog in
Avatar of Alpha_AI
Alpha_AI

asked on

Create WebBrowsers inside the application and not outside the app, anyone know?

Hi,

How does one create webbrowsers dynamically inside the application im building .
I need them to open every time I click on new search.
I dont want a ie browser to open, i want a webbrowser to open inside my app and
be contained inside my app.

I thought it might be something like

var
   flag : OleVariant;
   WebBrowser : TWebBrowser;

begin
WebBrowser := TWebBrowser.Create(self)
WebBrowser.Parent := self;
flag := navOpenInNewWindow;
WebBrowser.Navigate('www.hotmail.com',flag);
end;

The above code opens up a browser outside of my application and not inside.
Anyone know?
Cheers

Ben
ASKER CERTIFIED SOLUTION
Avatar of SteveWaite
SteveWaite

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of SteveWaite
SteveWaite

if you need more control and want to try a basic browser, theres a free ThtmlLite component at:
http://www.pbear.com/


Regards
Steve
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Avatar of Wayne Barron
Wayne Barron
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial