Re: What is the width of UserControl vertical scroll bar

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Ken Tucker [MVP] (vb2ae_at_bellsouth.net)
Date: 02/16/04


Date: Mon, 16 Feb 2004 09:11:26 -0500

Hi,

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

Ken

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

" SamSpade" <stillprogramming@REMOVEaol.com> wrote in message
news:uaZO$TJ9DHA.2756@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
>
>



Relevant Pages

  • 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 ...
    (microsoft.public.dotnet.languages.vb)
  • Re: 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 ... >> 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 ...
    (microsoft.public.dotnet.languages.vb)
  • Re: win forms security
    ... How to run a user control assembly hosted on an Internet Information Server ... on an Internet Explorer client. ... permissions than would normally be granted to the zone the assembly belongs ... > I am sticking to window forms to complete my task. ...
    (microsoft.public.dotnet.security)
  • Re: RunAtClient?
    ... I am using a user control, ... tab. ... I would like to stay at the client and hide and show the ... >> I am writing out the jscript in the RenderWebPart method but I don't know ...
    (microsoft.public.sharepoint.portalserver.development)
  • Re: User Controls & Client Side Events
    ... > I have a user control from which I would like to fire events that can be> handled in client side script. ... I'd like the client script to be able to handle events when> the imagebutton is clicked or the textbox changes value. ...
    (microsoft.public.dotnet.framework.aspnet.buildingcontrols)