|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
DATAGRID - When doc property is FILL why do headers disappear?VS2005 question.
I have a form with 5 panels on it, top, bottom , each edge and in the middle .. The middle panel's DOC property is set to FILL. Inside this middle panel is a Datagrid, if I leave the DOC property of the Datagrid set to NONE then the column headers and scroll bars show just fine BUT if I set the DOC property to FILL then these disappear. How do I get the Column headings and scroll bars to be visible when the DOC property is set to FILL? Followup.
If I set the DOC property to NONE and set the ANCHOR property to Top, Bottom, Left, Right then the column headings show up but the scroll bars are still missing. Why? Show quote "Darrell Wesley" wrote: > VS2005 question. > > I have a form with 5 panels on it, top, bottom , each edge and in the middle > . The middle panel's DOC property is set to FILL. Inside this middle panel is > a Datagrid, if I leave the DOC property of the Datagrid set to NONE then the > column headers and scroll bars show just fine BUT if I set the DOC property > to FILL then these disappear. > > How do I get the Column headings and scroll bars to be visible when the DOC > property is set to FILL? I'm having the same issue with a webbrowser control. The toolstrip above it
not only disappears from view, it's Visible property is set to 'False'. I put the toolstrip in a toolstrip container, but that didn't help. I should mention that the toolstripcontainer with the toolstrip and webbrowser controls are all on a multitab control. For what that's worth. I suppose I'll have to move the toolstrip, or not dock the webbrowser. Ross Show quote "Darrell Wesley" <DarrellWes***@discussions.microsoft.com> wrote in message news:108A77F2-9316-408F-842F-3721E38427D5@microsoft.com... > VS2005 question. > > I have a form with 5 panels on it, top, bottom , each edge and in the > middle > . The middle panel's DOC property is set to FILL. Inside this middle panel > is > a Datagrid, if I leave the DOC property of the Datagrid set to NONE then > the > column headers and scroll bars show just fine BUT if I set the DOC > property > to FILL then these disappear. > > How do I get the Column headings and scroll bars to be visible when the > DOC > property is set to FILL? |
|||||||||||||||||||||||