Splitter docked right, but how to maintain right-side control?

  • Thread starter Bob (remove 'excise-' to reply)
  • Start date
B

Bob (remove 'excise-' to reply)

I've got a form with three controls: a left-docked richtextbox, a
right-docked form, and a right-docked listview.

When I resize the form, the listview increases and decreases, the
splitter remaining at the same spot. How can I maintain the size of the
right-side listview when resizing the parent form? (Have the splitter
move in relationship to the right-edge of the form.)

I have to do this programmatically, no VS IDE to work with.

Thanks
 
D

Daisy

Bob (remove 'excise-' to reply) said:
I've got a form with three controls: a left-docked richtextbox, a
right-docked form, and a right-docked listview.

When I resize the form, the listview increases and decreases, the
splitter remaining at the same spot. How can I maintain the size of the
right-side listview when resizing the parent form? (Have the splitter
move in relationship to the right-edge of the form.)

I have to do this programmatically, no VS IDE to work with.

Splitter has a MinSize property

"Gets or sets the minimum distance that must remain between the splitter
control and the container edge that the control is docked to."

I think MinExtra sets the minimum on the other side.

HTH
 

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

Similar Threads


Top