Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Twebbrowser

Posted on 2001-06-29
3
Medium Priority
?
142 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 400 total points
ID: 6238616
If you use 'InsertControl(w1);' after creation, it becomes visible and the event will work.
0

Featured Post

[Webinar] Cloud Security

In this webinar you will learn:

-Why existing firewall and DMZ architectures are not suited for securing cloud applications
-How to make your enterprise “Cloud Ready”, and fix your aging DMZ architecture
-How to transform your enterprise and become a Cloud Enabler

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 The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
Suggested Courses

963 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