Solved

Twebbrowser

Posted on 2001-06-29
3
134 Views
Last Modified: 2010-04-06
After creating manualy webbrowser:
w1:=Twebbrowser.create(self);

None of the events of this component doesn't work.

What is the problem?
How to solve it?
0
Comment
Question by:f15iaf
  • 2
3 Comments
 
LVL 6

Expert Comment

by:edey
ID: 6238572
I've found that when creating IE's yourself it helps to explicitly cast the object (w1) as a TWinControl.

GL
Mike
0
 
LVL 13

Expert Comment

by:Epsylon
ID: 6238582
TWebBrowser must be visible to work. If you don't want that, use this UI-less parser:

http://www.euromind.com/iedelphi/uilessparser.htm
0
 
LVL 13

Accepted Solution

by:
Epsylon earned 100 total points
ID: 6238616
If you use 'InsertControl(w1);' after creation, it becomes visible and the event will work.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now