Hi,

I am new here and have been playing around c# for awhile.

I am wondering if there is a way to change the control so that they resize to the panel or windows accoundingly...

You can see the image here:
Screenshot

Recommended Answers

All 4 Replies

should just have to set their dock property to fill...

Hi Diamonddrake,

It works for the Treeview component, however, the tab component still doesn't seems to resize after I maximize the window...

I think your TreeView and TabControl are in a SplitContainer. If that is the case, also set its Dock property to Fill as well.

Thanks for the help, ddanbe. I realized I mistakenly uses panel container instead of split container for the tab component...

>_<"

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.