469,579 Members | 1,243 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

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

Resizing custom control

I have built a custom control which sits on a panel. There is another panel
on the form with a splitter between them. The custom control has a tab
control on it, and I need to do two things: (1) When the control is loaded
the FIRST tab seems to take it's scroll bar colors from the System (XP)
rather than the control colors. The other tab uses the control colors. How
do I reset this? (2) When I click on the SECOND tab, I want to resize the
custom control/move the splitter to show all of the data on that tab. I have
tried to find a way using the DisplayRectangle property, but that doesn't do
it, and the Location property of the Splitter is read only. Can anyone think
of a way I can resize this control/tab page when they are clicked?


WhiteWizard (aka Gandalf)
Mar 9 '06 #1
0 1414

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Job Lot | last post: by
1 post views Thread by mehdi_mousavi | last post: by
11 posts views Thread by Sharon | last post: by
4 posts views Thread by cj | last post: by
10 posts views Thread by David W. Simmonds | last post: by
1 post views Thread by Andrew Hayward | last post: by
1 post views Thread by Jeff | last post: by
reply views Thread by suresh191 | last post: by
4 posts views Thread by guiromero | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.