Article View: borland.public.cppbuilder.internet.web
Article #473Re: Help with TCppWebBrowser - Find and click a button
From: mike
Date: Sun, 07 Jan 2007 18:04
Date: Sun, 07 Jan 2007 18:04
33 lines
2018 bytes
2018 bytes
Hans,
Sorry for the one character variable name. It is L not a digit 1.
The reported count for the number of frames is 2.
Thanks for continuing to assist me in this.
Mike
"Hans Galema" <notused@notused.nl> wrote in message
news:45a131a1$1@newsgroups.borland.com...
> 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:
<45a13626$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<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> <45a131a1$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 From: "mike" <mfbrowne@earthlink.nnet> Newsgroups: borland.public.cppbuilder.internet.web 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> <45a131a1$1@newsgroups.borland.com> Subject: Re: Help with TCppWebBrowser - Find and click a button Date: Sun, 7 Jan 2007 13:04:43 -0500 Lines: 35 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2869 X-RFC2646: Format=Flowed; Response X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 NNTP-Posting-Host: 72.185.80.204 Message-ID: <45a13626$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1168193062 72.185.80.204 (7 Jan 2007 10:04:22 -0800) Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail