🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.internet.web
6 messages
6 total messages Started by Francisco navarro Sat, 02 Oct 2004 14:12
tccpbrowser scorll bars
#1683
Author: Francisco navarro
Date: Sat, 02 Oct 2004 14:12
5 lines
1117 bytes
How can I put scroll bars in a tccpbrowser control ? and
in the page I want to go there are to edit controls for put the name and
password, for go to the next page, Can send it from code for go directly to
this next page ?
thanks
Re: tccpbrowser scorll bars
#1686
Author: Hans Galema
Date: Mon, 04 Oct 2004 08:32
19 lines
1514 bytes
Francisco navarro wrote:
> How can I put scroll bars in a tccpbrowser control ?

TCppWebBrowser already has scrollbars which automatically appear
if needed. Do you need extra ones ?

> and
> in the page I want to go there are to edit controls for put the name and
> password, for go to the next page, Can send it from code for go directly to
> this next page ?

There is code where you programmatically press the submitbutton.
Is that what you want ?

  #include <mshtml.h>

  and have a look at .. submit ..

Hans.
Re: tccpbrowser scroll bars
#1695
Author: Francisco Navarro
Date: Thu, 07 Oct 2004 16:28
2 lines
1018 bytes
I call the tccpbrowser with navigate(WideString("url"),NULL,NULL,NULL), and
not show scroll bars, and I can not see all the page.....
Re: tccpbrowser scroll bars
#1696
Author: Hans Galema
Date: Thu, 07 Oct 2004 16:39
14 lines
1362 bytes
Francisco Navarro wrote:

> I call the tccpbrowser with navigate(WideString("url"),NULL,NULL,NULL), and
> not show scroll bars, and I can not see all the page.....

Try:

     CppWebBrowser1->Navigate(WideString("url"));

But it is difficult to imagine that that should cause scrollbars not to appear.

Could you give an url on the internet that has that behaviour ?

Hans.
Re: tccpbrowser scroll bars
#1697
Author: Francisco Navarro
Date: Thu, 07 Oct 2004 17:30
5 lines
1122 bytes
Of course the page is http://www.enercut.com
 You will see that this page has to edit for NAME and PASSWORD, can I send
the  strings for this edit  for the user go directly to next page ?

Thanks.
Re: tccpbrowser scroll bars
#1698
Author: Hans Galema
Date: Thu, 07 Oct 2004 20:04
23 lines
1983 bytes
Francisco Navarro wrote:

> Of course the page is http://www.enercut.com

That page causes for scrollbars with a TCppWebBrowser.

>  You will see that this page has to edit for NAME and PASSWORD, can I send
> the  strings for this edit  for the user go directly to next page ?

Sorry, but I asked you to give an url concerning the non appearing scrollbars.

For posting and submitting I gave you already a hint. Please react.

You can programmatically both
	- fill in the two inputs with text and then press the submitbutton
	- post the right key=value pairs to the webserver

The latter can also be done with a TCppWebBrowser component I think
but it would be easier to do that with a HTTP component. Be prepared
that the cgi that gets the post can easily check the referrer and so
discover that it does not come from the login page and refuse the login.

Hans.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads