| | |
resize control
Please support our C++ advertiser: Intel Parallel Studio Home
Thread Solved |
•
•
Join Date: Oct 2008
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 5:43 am.
![]() |
Similar Threads
- 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++?
| Thread Tools | Search this Thread |
api array based beginner binary bitmap c++ c/c++ calculator char char* class classes coding compile compiler console conversion count database delete desktop developer directshow dll download dynamic dynamiccharacterarray email encryption error file forms fstream function functions game google graph gui homeworkhelper iamthwee ifstream input int integer java lib linkedlist linker linux list loop looping loops map math matrix memory multiple news node number numbertoword output parameter pointer problem program programming project python random read recursion recursive reference return rpg sorting string strings struct template templates test text text-file tree unix url vector video visualstudio win32 windows winsock word wordfrequency wxwidgets





