StatusBar resize doesnt cause DataGrid vertical scrollbars

  • Thread starter Thread starter Dave Taylor
  • Start date Start date
D

Dave Taylor

I have a StatusBar control docked to the bottom of the screen, a horizontal
splitter control just above that, and then a DataGrid control that has its
docking property set to Fill above that. (I'm trying to create a
"Properties Window" similar to the Properties Window in Visual Studio). The
problem is, when I resize the StatusBar, making it larger by moving the
splitter control, it does not force DataGrid to redraw and display the
vertical scrollbars. I would think this is automatic, or do I need to
Invalidate() the DataGrid every time the splitter is moved?
 
Never mind!! I found that it was the order I inserted the controls at design
time that was causing the problem. Cutting and pasting the DataGrid back
into the form fixed it up.
 
Back
Top