Solved

Why do I have to click on the Olecontainer?

Posted on 1998-11-10
3
143 Views
Last Modified: 2010-04-04
I've got IE inside an Olecontainer, but at runtime after
loading a HTML document, I must click the Olecontainer to be able to see IE and the document.
Why?
0
Comment
Question by:hagur
3 Comments
 
LVL 3

Author Comment

by:hagur
ID: 1346446
I need an answer
0
 
LVL 4

Accepted Solution

by:
dwwang earned 0 total points
ID: 1346447
You can just write somewhere in form's code: MyOleContainer.Click(Self); so that you needen't always click it.

0
 
LVL 2

Expert Comment

by:freter
ID: 1346448
the olecontainer has a method called doverb. you should rather call this than the click method. the parameter to be passed should be ovPrimary.
rgds, Freter
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

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…
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…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

827 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