Gridview scrollbars

Post

Posted
Rating:
#1 (In Topic #99)
Avatar
Guru
cogier is in the usergroup ‘Guru’
I want to know if the scrollbars of a GridView are being displayed. Unfortunately the GridView.Scrollbar only reports the setting and not if it is being displayed.

The idea is that if the vertical schrollbar bar is showing I could increase the height of the form until the Scrollbar disappears.
Online now: Yes Back to the top

Post

Posted
Rating:
#2
Regular
monteiro is in the usergroup ‘Regular’
 Is it related with the gridview rows count?  If so, I think it is possible to resize the form and gridview height by using this.

Online now: No Back to the top

Post

Posted
Rating:
#3
Avatar
Guru
cogier is in the usergroup ‘Guru’
Thanks for this. You have pointed me in the right direction. By using the amount of Rows and multiplying by the height of the Row the Form height required can be calculated.

A sample program is attached.

Attachment
Online now: Yes Back to the top
1 guest and 0 members have just viewed this.