[Gambas-user] Is there a way to test if a gridview scrollbar is actually visible at runtime?

Bruce adamnt42 at gmail.com
Mon May 11 14:12:25 CEST 2020


On 9/5/20 1:22 am, T Lee Davidson wrote:

> 
> To determine if a scroll bar is visible, this seems to work:
> bGv1HorBarVisible = GridView1.ScrollWidth > GridView1.Width
> bGv1VertBarVisible = GridView1.ScrollHeight > GridView1.Height
> 
> (And, also as usual, I probable misunderstood what you're trying to 
> accomplish.)
> 
> 
Oh. no! You were so correct! It was the idea I was looking for. And yes, 
it does seem to work. So well I think it should be put in the help 
somewhere.

Thanks
b


More information about the User mailing list