🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

TCppWebBrowser - How to disable resizing with scripts

#1253
From: Serkan �zkan
Date: Sat, 02 Apr 2005 18:27
9 lines
1319 bytes
Hi
I am using a TCppWebBrowser in an application and I don't want to let 
scripts resize the window.
I have a TCppWebBrowser on a TForm with Align= alClient. There is nothing 
else on the form. Everything works fine unless a javascript code in a page 
tries to resize the window. Then script code tries to resize the web browser 
and alClient also tries to resize it so the this race never ends.
How can I disable resizing of WebBrowser with scripts?
Thanks 
Technical Details
Message-ID: <424ee3f7@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,e9c082ebaee051d5,start
X-Google-Attributes: gidfeeec,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Serkan �zkan" <serkan@insaat.org>
Newsgroups: borland.public.cppbuilder.internet.web
Subject: TCppWebBrowser - How to disable resizing with scripts
Date: Sat, 2 Apr 2005 21:27:03 +0300
Lines: 11
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
NNTP-Posting-Host: 85.97.62.67
Message-ID: <424ee3f7@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1112466423 85.97.62.67 (2 Apr 2005 10:27:03 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail