I guess there could be several causes for that, but if you're seeing the
same problem as I had before, it's caused by z-order of controls.
DockStyle.Fill control must be in front of other DocStyles. On form
designer, right click on your filled DataGrid and click "Bring to
front". Hope this helps.

-----Original Message-----
From: dotnet discussion [mailto:[EMAIL PROTECTED]] On Behalf Of
Jan Dropczynski
Sent: Wednesday, May 15, 2002 12:07 AM
To: [EMAIL PROTECTED]
Subject: [DOTNET] DataGrid and scrollbars


Hi all,
I have a problem with the datagrid and its scrollbars.
My application has two panels they are docked bottom and
fill. The upper panel (which has the DockStyle.Fill)
contains a datagrid that have a Tablestyle so that I'm
only showing the columns I need.
But my problem is if the datagrid have more rows than
the datagrid can be displayed no vertical scrollbar appears. The same
problem is if I minimize the size of my winform so that at least one
column is hidden then no horizontal scrollbar appears.

Can anybody help me to say I have to do?

Many thanks and Regards,

Jan Dropczynski
Software-Engineer
THONA Consulting Ltd.

You can read messages from the DOTNET archive, unsubscribe from DOTNET,
or subscribe to other DevelopMentor lists at http://discuss.develop.com.

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to