anchor or docking

T

TomislaW

I have Winform with 3 groupboxes

One on the left one in the middle and one on the right size of the form

Each groupbox have datagrid

Problem is when I resizing form I can not see groupbox and datagrid in the
middle

How should I set anchor and docking so I can resize my form and see each
datagrid, or how to make datagrid resizable?




Tomislav
 
S

Stoitcho Goutsev \(100\) [C# MVP]

Hi TomislaW,

I believe it is a docking issue. It could be probbaly solve with anchoring
too, but it is not its purpose.Dock all the elements lef, top, right or
bottom, but one, which will occupy the free area. This control you dock
fill. Bare in mind that with docking the order you have added the controls
does matter. If the controls are already in the form you can change the
order via "Birng to front" and "Send to back" from the contex menu.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top