Solved

Twebbrowser

Posted on 2001-06-29
3
138 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Intraweb download file link ? 1 184
Strange behavior when a form is closed 6 80
Adoquery sql  left join does not work 25 121
CheckListBox usage 3 98
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

752 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