PC Review Forums Newsgroups Microsoft DotNet Microsoft Dot NET Framework Forms Splitter control

Reply

Splitter control

 
Thread Tools Rate Thread
Old 25-06-2003, 12:51 PM   #1
Slugsie
Guest
 
Posts: n/a
Default Splitter control


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>


  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off