473,804 Members | 3,603 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

I want to make the ScrollBar appear and disappear automatically

zlf
Hi,
There is a Multiline TextBox and I want to make its ScrollBar
automatically appear when the page number > 1 ( That is the TextBox
rectangle can not show full text ) and disappear when the page number equals
one .Thanks

zlf
Nov 16 '05 #1
0 1393

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

Similar topics

4
4901
by: Roderik | last post by:
Hi, At http://archytas.nl/ there appears to be a horizontal scrollbar when using Mozilla Firebird (not in IE). The website (container DIV) should be 770 px wide, so there shouldn't be any reason for the scrollbar to appear at 1024x768. I think it has something to do with the DIV properties defined in the inline stylesheet. I hope someone can tell me why the horizontal scrollbar will appear.
3
2283
by: Jordan Peterson | last post by:
When using {list-style: none} to hide the bullets in a <ul>, the bullets disappear but they are still accounted-for when positioning text. Specifically, I have: <div style='text-align: center'> <ul style='list-style: none> <li>...</li> <li>...</li> <li>...</li>
5
11203
by: Jsp | last post by:
I created a vertically scrolling div. On initial rendering, Firefox shows a horizontal scrollbar in this div, over the complete width. Resizing the width of the window/viewport makes the horizontal scrollbar disappear and never come back again, because the content is "liquid". Resizing the window/viewport vertically, makes the scrollbar come back again. IE and Opera don't show this behaviour. Page: http://www/lahaina.nl/index.htm CSS:...
0
1715
by: markusszil | last post by:
Hello all I have a fairly simple listbox into which I add, insert, and remove strings It has the following property settings HorizontalScrollbar - true HorizontalExtent - ScrollAlwaysVisible - Fals The problem I am having is that the horizontal scrollbar range doesn't work right. If I add a string, the first time the sting width exceeds the control width the bar appears, but it's off by a few pixels so the last character is...
3
17215
by: MuZZy | last post by:
Hi, Is there a way to: 1. Find out if a scrollbar is currently show on the TextBox 2. Get the width of the horizontal scrollbar I am doing a UserControl with a TextBox with a small image placed in the upper right cornet of the text box. If user typed a lot of text and scrollbar shows, i need to catch the event and move the image left so that it will not be hidden by the scroll bar.
10
12151
by: Crazy Cat | last post by:
Hi, I am dynamically creating datagridviews for my application, then filling them with data from a 30 row datatable, and everything seems to work great with one exception. My horizontal scrollbar never appears -- no problem with the vertical scrollbar. I even try setting the scrollbars property to Both, but still I only see the vertical scrollbar. Is there any other way to force the DataGridView's vertical scrollbar
1
1538
by: Dooboise | last post by:
Hi. For my website, I'm trying to develop a JavaScript that makes a div appear. I have found several samples that toggle a div back and forth between visible and hidden, but what I need is a bit different. Here's the scoop: I have a series of thumbnail images. What I'd like to happen is that, when a user clicks, for example, Thumbnail Number 1, an associated div would appear (I've already written the CSS that locates the div). I'd like that div...
0
976
by: rezog | last post by:
Hello, I have a template design with a (horizontaly) center - alligned table that contains all data. Now most pages on my website are without scrollbar as the information is presented minimally. However there are two or three pages that will require more space, hence scrolling. I have decided to do without CSS overflow property and let the browser adjust itself with its own scrollbar. Problems appear when pages with no scrollbar are...
5
1783
by: ryanmhuc | last post by:
Is it possible to make the scrollbar appear on a page which is NOT A POPUP? On IE the scollbar space is always reserved or appears even if not used. In Firefox it does not exist unless the page's window is larger then the viewable area. This causes the page to jump left whenever you go from a page without a scollbar to a page with a scollbar in Firefox. So i would like to have a piece of javascript that always enables the
0
9710
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...
0
9589
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10593
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10340
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10085
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
7626
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
5527
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
5663
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3830
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.