Solved

Twebbrowser

Posted on 2001-06-29
3
133 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
Comment Utility
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
Comment Utility
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
Comment Utility
If you use 'InsertControl(w1);' after creation, it becomes visible and the event will work.
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

763 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

6 Experts available now in Live!

Get 1:1 Help Now