🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Help with TCppWebBrowser - Find and click a button

#472
From: Hans Galema
Date: Sun, 07 Jan 2007 17:43
22 lines
1746 bytes
mike wrote:

Until now I did not try your code but looking at it the following
comes to mind:

>                 long cnt = 0;
>                 Frames->get_length(&cnt);

What is the value of count?

	ShowMessage ( "cnt: " + IntToStr ( (int)cnt ) );

>                 for(long l = 0; l < cnt; ++l)
>                 {
>                     TVariant IndexOrName = l;

Is that character L ? or digit 1 ?

Please do never use variablenames with only one character. Especially
do never use an l. It looks to much a 1.

Hans.
Technical Details
Message-ID: <45a131a1$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news1.google.com!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <459ebec4$1@newsgroups.borland.com> <459ec5bf$1@newsgroups.borland.com> <459fbc29$2@newsgroups.borland.com> <45a02189$1@newsgroups.borland.com> <45a02ab5$1@newsgroups.borland.com> <45a0c58e$1@newsgroups.borland.com> <45a0fe8a$1@newsgroups.borland.com> <45a10643$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,6ed59181280548e1
X-Google-Attributes: gidfeeec,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Sun, 07 Jan 2007 18:43:23 +0100
From: Hans Galema <notused@notused.nl>
User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.internet.web
Subject: Re: Help with TCppWebBrowser - Find and click a button
References: <459ebec4$1@newsgroups.borland.com> <459ec5bf$1@newsgroups.borland.com> <459fbc29$2@newsgroups.borland.com> <45a02189$1@newsgroups.borland.com> <45a02ab5$1@newsgroups.borland.com> <45a0c58e$1@newsgroups.borland.com> <45a0fe8a$1@newsgroups.borland.com> <45a10643$1@newsgroups.borland.com>
In-Reply-To: <45a10643$1@newsgroups.borland.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 145.98.201.248
Message-ID: <45a131a1$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1168191905 145.98.201.248 (7 Jan 2007 09:45:05 -0800)
Lines: 22
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news1.google.com!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail