resize control
Please support our C++ advertiser: Programming Forums
Thread Solved
![]() |
•
•
Posts: 122
Reputation:
Solved Threads: 6
I have a little problem to dock a grid with a panel.
What i have done is to first dock a panel in the top of the form. What i then want to do is to dock a datagrid so it Fills the whole form but not so it will go inunder the panel that is docked at the top of form(I have attached a picture how it looks like).
What i try to achieve is when the form will be maximized the datagrid will also be bigger and the columnheaders will be just under the panel as now and then also fill out in the sides and bottom of form.
If i dock the datagrid with Fill, the columnheaders will come inunder the panel wich i dont want.
Thanks in advance!
What i have done is to first dock a panel in the top of the form. What i then want to do is to dock a datagrid so it Fills the whole form but not so it will go inunder the panel that is docked at the top of form(I have attached a picture how it looks like).
What i try to achieve is when the form will be maximized the datagrid will also be bigger and the columnheaders will be just under the panel as now and then also fill out in the sides and bottom of form.
If i dock the datagrid with Fill, the columnheaders will come inunder the panel wich i dont want.
Thanks in advance!
Last edited by Liszt : Oct 14th, 2008 at 4:43 am.
![]() |
Similar Threads
Other Threads in the C++ Forum
- Shrinking controls in vb.net 2005 (VB.NET)
- Using Hidden Variables in ASP.NET (ASP.NET)
- Determining Width of Text in a Control (VB.NET)
- How to Resize Image with form resize event (Visual Basic 4 / 5 / 6)
- Changing control sizes at run-time (Python)
- Can images be auto-resized while using the WebBrowser control in VB5 (Visual Basic 4 / 5 / 6)
- Auto-resizing images in the IE Browser control (Visual Basic 4 / 5 / 6)
- Calculating a control position on a window (C)
- Memory control with a vector (C)
Other Threads in the C++ Forum
- Previous Thread: reading a file in hex
- Next Thread: how to use the ctime function in C++?
•
•
•
•
Views: 394 | Replies: 1 | Currently Viewing: 1 (0 members and 1 guests)





Linear Mode