473,654 Members | 3,239 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

web browser control auto scroll

hi, i have a web browser control on my win form, and every so often i add
text to it. when the text goes beyond the last line, the control doesnt auto
scroll to show it and there is no property governing this. i have to use a
webbrowser control so how can i get this to occur? thanks
--
-iwdu15
Jul 9 '06 #1
4 3653
Try to set the ScrollBarsEnabl e to True.

On Sun, 09 Jul 2006 20:55:02 +0100, iwdu15 <jmmgoalsteraty ahoodotcom>
wrote:
hi, i have a web browser control on my win form, and every so often i add
text to it. when the text goes beyond the last line, the control doesnt
auto
scroll to show it and there is no property governing this. i have to use
a
webbrowser control so how can i get this to occur? thanks


--
Tiago Salgado
http://www.foruns.org
Jul 9 '06 #2
they are enabled
--
-iwdu15
Jul 10 '06 #3
Hum... maybe there's some problem with your control ... do u test creating
a new project and add to a new form the webbrowser component and watch if
scroolbars are enabled ? If you don't, try that. If the problem continues,
try to repair your VS installation.

On Mon, 10 Jul 2006 01:39:01 +0100, iwdu15 <jmmgoalsteraty ahoodotcom>
wrote:
they are enabled


--
Tiago Salgado
http://www.foruns.org
Jul 10 '06 #4
lol its not that the scroll bars arent there, they work fine. its that i want
them to autoscroll to the bottom of the document when i change the document
text. i am creating an AIM program, so when i receive an IM, i add it to the
document text. i need to be able to have the web browser automatically scroll
to the bottom so the user can see it hope that makes more sense
--
-iwdu15
Jul 11 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

12
10151
by: Kepler | last post by:
How do you get the height of the client browser in IE? Both document.body.clientHeight and document.body.offsetHeight return the height of the document. If the page is long and there's a vertical scrollbar, you get the height of the entire document, screwing up any chance of centering a window in the browser using these values. Is there a way to get the height of the actual browser window and not the entire page height? Thanks.
0
2640
by: Alex Moskalyuk | last post by:
I am using System.Windows.Forms.TextBox to publish some real-time data that's coming off the external devices. My data is fed into the TextBox with proper precautions not to exceed the MaxSize limit. I use the AppendText() method of the TextBox class and tried playing with ScrollToCaret(), but that didn't seem to do anything different than normal behavior. I am getting the TextBox that supports auto-scrolling on some machines (i.e. the...
0
3538
by: msnews.microsoft.com | last post by:
Hello, I am trying to remove the scrollbars from any page I load up into the browser control on a window form. I first tried the following: browserDoc = (mshtml.HTMLDocument)browser.Document; browserBody = (mshtml.HTMLBody)browserDoc.body; browserBody.scroll = "no"; This worked for most pages but not all. When I navigated to the following web site:
0
1532
by: Kenneth H. Brannigan | last post by:
Hello, I am trying to remove the scrollbars from any page I load up into the browser control on a window form. I first tried the following: browserDoc = (mshtml.HTMLDocument)browser.Document; browserBody = (mshtml.HTMLBody)browserDoc.body; browserBody.scroll = "no"; This worked for most pages but not all. When I navigated to the following web site:
1
1557
by: Alex Calder | last post by:
How's that for a subject line? :) OK, here's the deal. I have a web page that features a Flash movie about halfway down the page, and inside that Flash movie is content that typically exceeds the height of the movie, and accordingly, scrolls via use of a scroll bar. I've been testing out this page on friends, and the common complaint
2
4702
by: sachjn | last post by:
Hi, I need to have a table along with other UI items in page which resizes horizontally and vertically with the browser window. That means table should accoupy the remaining available space in the browser window and should display horizontal and vertical scroll bars if content of table is more than available width & height. I can do similer to this by enclosing table in a <DIV> with style as : overflow:auto; height:200px etc. But things...
1
5159
by: pravinnweb | last post by:
can anyone tell me how to set auto height to outer div that is in green box id "gray-background" it should increase relatively to inner div "smbox" here is the css and html code it should work in FF, IE6 and IE7 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML> <HEAD> <TITLE> Employee Listing </TITLE> <META NAME="Generator" CONTENT="EditPlus"> <META NAME="Author" CONTENT=""> <META NAME="Keywords"...
0
1341
by: ConieFL | last post by:
Using Visual Basic 6 I have a broswer control on a Form. Webbrowser1, when I try open the Google maps web site the Browser Control does not show the whole page nor does it give me any scrollbars to do so. When I open other pages to other sites the browser control displays scroll bars. Is there a way to force scrollbars on the browser control, or another method I could use so the user can scroll to see the whole page? I don't want to...
4
4046
by: stuckagain | last post by:
Hi, I have a page with a scrollable DIV, and within that DIV, I have a few asp.net menu controls. The idea being, the user mouses over the small icons and is presented with a list of options. One of these lists has more data than the page allows for, so the menu control automatically creates the scroll up / scroll down commands at both ends of the menu. The problem is; since it is within a scrollable div, the menu scroller are hidden! ...
0
8379
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
1
8494
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8596
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6162
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4150
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4297
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2719
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1924
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1597
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.