scrollbar-size

  • Thread starter Thread starter BigMomma
  • Start date Start date
B

BigMomma

Hi!

I want to know how to retrieve the scroll-bar size, that you can adjust in
your appearance settings, in vb.net.
Can anyone help me?

THX


Hi!

Ich muss die Scroll-Bar Size, die man in den Darstellungsoptionen festlegen
kann, für ein vb.net Programm rausfinden.
Kann mir irgendjemand helfen?

Danke
 
* "BigMomma said:
I want to know how to retrieve the scroll-bar size, that you can adjust in
your appearance settings, in vb.net.
Can anyone help me?

'SystemInformation.VerticalScrollBarWidth'
'SystemInformation.HorizontalScrollBarWidth'
 
BigMomma said:
I want to know how to retrieve the scroll-bar size, that you can
adjust in your appearance settings, in vb.net.
Can anyone help me?


I don't know the exact member, but you can have a look at the
System.Windows.Forms.SystemInformation
class.

....

Now I've found them:
System.Windows.Forms.SystemInformation.HorizontalScrollBarHeight
System.Windows.Forms.SystemInformation.VerticalScrollBarWidth
 
* (e-mail address removed) (Herfried K. Wagner [MVP]) scripsit:
'SystemInformation.VerticalScrollBarWidth'
'SystemInformation.HorizontalScrollBarWidth'
^^^^^

Sorry, that should read "Height".

;-)
 
Back
Top