468,765 Members | 1,178 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,765 developers. It's quick & easy.

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

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
--
Rob
My Reply-To is valid as displayed.
Nov 15 '05 #1
1 2851
"Bob (remove 'excise-' to reply)" <an********@excise-onebox.com> wrote in
message news:dd********************************@4ax.com...
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
--
Daisy The Cow
Now playing: DJ Sammy - Sunlight [Bossa Nova Mix]
Nov 15 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Bevo | last post: by
1 post views Thread by Krish | last post: by
6 posts views Thread by magmo | last post: by
4 posts views Thread by Peter | last post: by
5 posts views Thread by Sam | last post: by
4 posts views Thread by Marina | last post: by
5 posts views Thread by dotnetchic | last post: by
2 posts views Thread by Istvan | last post: by
1 post views Thread by Julian Mensch | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by Marin | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.