🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.web
Article #589

Re: CPPWebBrowser and ControlData

#589
From: Joyce
Date: Fri, 14 Apr 2006 13:28
31 lines
1837 bytes
"Hans Galema" <notused@notused.nl> wrote in message 
news:443f74b6@newsgroups.borland.com...
> Hans Galema wrote:
>
>> No. Please show your code. Don't forget to set the parent.
>
> This works for me:
>
> void __fastcall TForm1::Button1Click(TObject *Sender)
> {
>   TCppWebBrowser *CppWebBrowser = new TCppWebBrowser ( this );
>
>   CppWebBrowser->TOleControl::Parent = TabSheet2;
>   CppWebBrowser->Align = alClient;
>
>   CppWebBrowser->Navigate ( WideString (
> "http://kb.lv.ukrtel.net/foto/albums/userpics/10005/12526_2.jpg"
> ) );
>
> Don't take to much luggage ...
>
> Hans.

I did try to set the Patent for CppWebBrowser but of course this did not 
exist.

By using CppWebBrowser->TOleControl::Parent everything now works.

Many Thanks,
Joyce 
Technical Details
Message-ID: <443fa36a@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <443e629f$1@newsgroups.borland.com> <443e67f7$1@newsgroups.borland.com> <443f5ba2$1@newsgroups.borland.com> <443f6f37@newsgroups.borland.com> <443f74b6@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,9ad4c46c16f96808
X-Google-Attributes: gidfeeec,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Joyce" <joyce.bromfield@dsl.pipex.com>
Newsgroups: borland.public.cppbuilder.internet.web
References: <443e629f$1@newsgroups.borland.com> <443e67f7$1@newsgroups.borland.com> <443f5ba2$1@newsgroups.borland.com> <443f6f37@newsgroups.borland.com> <443f74b6@newsgroups.borland.com>
Subject: Re: CPPWebBrowser and ControlData
Date: Fri, 14 Apr 2006 14:28:04 +0100
Lines: 33
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2527
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527
X-RFC2646: Format=Flowed; Response
NNTP-Posting-Host: 82.70.103.5
Message-ID: <443fa36a@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1145021290 82.70.103.5 (14 Apr 2006 06:28:10 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail