PC Review
Forums
Newsgroups
Microsoft DotNet
Microsoft Dot NET Framework Forms
Splitter control
Forums
Newsgroups
Microsoft DotNet
Microsoft Dot NET Framework Forms
Splitter control
![]() |
Splitter control |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
Is there any way to manually fire the resize/position logic for a splitter
bar? The reason I ask is because I have a form in an application that uses a splitter bar to size two areas on the form (a bit like Explorer, only horizontally). The minsize and minextra properties are both set to 50, and this works well enough in stopping the user from dragging the splitter too far. However, it doesn't stop the user decreasing the size of the form, and pushing the spliter off the form. I would like to set it so that the two sides of the splitter can't get any smaller than the minsize/minextra allow, unless the form is physically too small to allow it. The most obvious way to accomplish this would be to fire some method on the splitter in the form resize event, but I can't find such a method. Any hints? -- </Slugsie> |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

