This is a migrated thread and some comments may be shown as answers.

How do I determine if the scroll bar is showing?

1 Answer 70 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Deborah
Top achievements
Rank 1
Deborah asked on 23 Oct 2010, 01:54 AM
I wrote my own code for handling resizing so that I could get the resizing functionality that I want. It all works fine ... until I display a scroll bar. Then the size is too large.

I thought "easy enough", I will just add a check for a scroll bar and make my widths shorter. From reading, it sounded like I should use VScroll to check that. However, this value is *always* false, even when the scroll bar is showing.

Is there a way my code can know that the scroll bar is showing so I can resize my columns appropriately?

Thanks!

1 Answer, 1 is accepted

Sort by
0
Deborah
Top achievements
Rank 1
answered on 23 Oct 2010, 02:22 AM
Tags
GridView
Asked by
Deborah
Top achievements
Rank 1
Answers by
Deborah
Top achievements
Rank 1
Share this question
or