• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2523
  • Last Modified:

DataGrid Scrollbar Width

How can I determine the width of the vertical scroll bar in a DataGrid in VB.NET 2003?

Thanks
0
SETP
Asked:
SETP
  • 2
  • 2
1 Solution
 
flavoCommented:
SystemInformation.VerticalScrollBarWidth

Dave
0
 
checooCommented:
Imports System.Windows.Form

        Dim a As SystemInformation
        a.VerticalScrollBarWidth
0
 
checooCommented:
OOps flavo beat me in this
0
 
SETPAuthor Commented:
Thanks! I didn't even know about that SystemInformation class. It's brilliant!!!
0
 
flavoCommented:
:-)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now