473,395 Members | 1,452 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

What is the width of UserControl vertical scroll bar

I need to set the client size width of a user control and leave room for a
vertical scroll bar, but I don't know how wide it is.

Seems I remember once checking system info for the width but don't remember
what I did.

More importantly, is there a newer way to determine the width?
Thanks for any help
Nov 20 '05 #1
2 1042
Hi,

The systeminformation class has that information.
Debug.WriteLine(SystemInformation.VerticalScrollBa rWidth)

Ken

-------------------------

" SamSpade" <st**************@REMOVEaol.com> wrote in message
news:ua**************@TK2MSFTNGP10.phx.gbl...
I need to set the client size width of a user control and leave room for a
vertical scroll bar, but I don't know how wide it is.

Seems I remember once checking system info for the width but don't remember what I did.

More importantly, is there a newer way to determine the width?
Thanks for any help

Nov 20 '05 #2
Thanks a lot
"Ken Tucker [MVP]" <vb***@bellsouth.net> wrote in message
news:uw*************@TK2MSFTNGP11.phx.gbl...
Hi,

The systeminformation class has that information.
Debug.WriteLine(SystemInformation.VerticalScrollBa rWidth)

Ken

-------------------------

" SamSpade" <st**************@REMOVEaol.com> wrote in message
news:ua**************@TK2MSFTNGP10.phx.gbl...
I need to set the client size width of a user control and leave room for a vertical scroll bar, but I don't know how wide it is.

Seems I remember once checking system info for the width but don't

remember
what I did.

More importantly, is there a newer way to determine the width?
Thanks for any help


Nov 20 '05 #3

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

Similar topics

0
by: BestNews | last post by:
OS: XP ..Net= framework = 1.0.3705 VS.Net IDE = 7.0.9466 1. I used an ActiveX control in C# client Application. After executing Aximp of ActiveX control. I derived a class from the AxHost.
3
by: Thorbjørn Jørgensen | last post by:
Hi I know that I have posted this question before, but sine no one did reply I might not have explanind my self well enough, so I will try once more... I have created a UserControl which inherits...
2
by: Jenny | last post by:
Hi all, I have a page with 3 panels. PanelA at the top, PanelB in the middle and PanelC at the bottom. Can I size PanelA and PanelC to a width of 10 pixel whereas the PanelB in the middle takes...
5
by: VJ | last post by:
Is there a any known easy way to fit web pages for a screen resolution. Can I do this programmatically? VJ
5
by: Chad | last post by:
for ease of use, and for features such as resizable columns, edit in place, horiz and vertical scrolling, heirarchy display, etc?
17
by: Mike | last post by:
I'm trying to create a page: Three sections (left, topright and bottomright), each with a heading and scrolling (overflow) content. The size of these sections should be based upon the size of the...
0
by: Brian Sabolik | last post by:
I am trying to set the width of the content page in a master - content site. If I set it to pixels it works fine, if I set it to a percentage, the content page automatically grows much larger than...
2
by: --== Alain ==-- | last post by:
Hi, How can i get the client rectangle usable based on BorderStyle value ? for example : - if BorderStyle is set to none, the client rectangle usable is the whole client rect of my component...
13
by: LC's No-Spam Newsreading account | last post by:
I have happily lived for 15 years (our first web server started in 1993) without CSS, but I now decided to learn and experiment with it. My personal preference has always been that the width of...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...
0
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...
0
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...
0
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...

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.