Results 1 to 5 of 5

Thread: Splitter Control resizeable? [Resolved]

  1. #1

    Thread Starter
    Member JesusFreak's Avatar
    Join Date
    Feb 2003
    Location
    Headed for Heaven
    Posts
    57

    Question Splitter Control resizeable? [Resolved]

    How do you make it so that you can resize a splitter control?
    Last edited by JesusFreak; May 15th, 2003 at 10:32 AM.
    That if you confess with your mouth, "Jesus is Lord," and believe in your heart that God raised him from the dead, you will be saved.

  2. #2
    Fanatic Member
    Join Date
    Sep 2002
    Posts
    518
    As far as I have seen Splitter controls are always docked (not resizable). Setting their dockstyle property with the property editor to none or fill is invalid. Setting it manually results in:

    An unhandled exception of type 'System.ArgumentException' occurred in system.windows.forms.dll

    Additional information: A splitter control must be docked left, right, top or bottom.


    What exactly are you trying to do?

  3. #3

    Thread Starter
    Member JesusFreak's Avatar
    Join Date
    Feb 2003
    Location
    Headed for Heaven
    Posts
    57
    I want it so that my splitter control can be docked to something(top, bottom, right or left) and so that it can slide back and forth.
    If the splitter control is docked to the left then the user would beable to increase or decrease the with of the splitter by clicking and draging their mouse.
    That if you confess with your mouth, "Jesus is Lord," and believe in your heart that God raised him from the dead, you will be saved.

  4. #4
    Fanatic Member
    Join Date
    Sep 2002
    Posts
    518
    I don't understand your problem. That's what Splitter does. You don't have to do anything to it, just drop the first control on your form, set its dockstyle (Splitter only works with docked controls), drop in a splitter, and it will attach itself to the last control added to the form (or if you have a different part of the form selected it will try to figure out where to attach itself).

  5. #5

    Thread Starter
    Member JesusFreak's Avatar
    Join Date
    Feb 2003
    Location
    Headed for Heaven
    Posts
    57
    I figured it out now
    Thanks
    That if you confess with your mouth, "Jesus is Lord," and believe in your heart that God raised him from the dead, you will be saved.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width