Home All Groups Group Topic Archive Search About

DataGrid scroll bars disappeared after the grid is filled

Author
2 Jul 2005 11:27 AM
Robert G
I'm using VB .net 2003. I have a grid where everything is working fine
except when after the grid is filled with records (by setting the data
source to a data view),
both the horizontal and vertical scroll bars just won;t show up, eventhough
the record numbers and columns are well exceeded the area.

If I minimized and maximized the main form again, then the scroll bars will
show up. What's wrong? Is there a work around for this?

Thanks.

Author
2 Jul 2005 11:47 PM
Ken Tucker [MVP]
Hi,

        I usually resize the grid to overcome that problem.  I make the grid
size one pixel smaller than resize it to its orginal size.

Ken
-----------------
"Robert G" <n*@nono.no> wrote in message
news:e01EwjvfFHA.3304@TK2MSFTNGP12.phx.gbl...
I'm using VB .net 2003. I have a grid where everything is working fine
except when after the grid is filled with records (by setting the data
source to a data view),
both the horizontal and vertical scroll bars just won;t show up, eventhough
the record numbers and columns are well exceeded the area.

If I minimized and maximized the main form again, then the scroll bars will
show up. What's wrong? Is there a work around for this?

Thanks.