Results 1 to 5 of 5

Thread: Docking. *[RESOLVED]*

  1. #1

    Thread Starter
    Hyperactive Member RealNickyDude's Avatar
    Join Date
    Nov 2002
    Location
    Watching you through the hidden camera :o
    Posts
    435

    Thumbs up Docking. *[RESOLVED]*

    I wish to dock a Treeview, a splitter and a RichTextBox in a certain way, like this:



    and be able to use the splitter (between the Treeview and RichTextBox to resize still, like VBCodeBook.NET.

    I've tried different combinations of Docking but it doesn't seem to work out right and the RichTextBox fills the form to the top.

    Any help would be appreciated.
    Last edited by RealNickyDude; Feb 5th, 2003 at 07:24 AM.
    [vbcode]
    On Error GoTo Hell
    [/vbcode]:¬) Nicky : Why not try VBCodebook.NET.

  2. #2
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    Well , try this :
    undock richtextbox , and use this code :

    VB Code:
    1. 'load event if didn't work then try it with resize .
    2. RichTextBox1.Dock = Splitter1.Dock.Right
    I don't if it works but .....

  3. #3

    Thread Starter
    Hyperactive Member RealNickyDude's Avatar
    Join Date
    Nov 2002
    Location
    Watching you through the hidden camera :o
    Posts
    435

    Unhappy

    nope, it doesn't
    [vbcode]
    On Error GoTo Hell
    [/vbcode]:¬) Nicky : Why not try VBCodebook.NET.

  4. #4
    Your Ad Here! Edneeis's Avatar
    Join Date
    Feb 2000
    Location
    Moreno Valley, CA (SoCal)
    Posts
    7,339
    Try either putting the richtextbox on a panel and have that fill the space or put a panel above the rtb and dock it as well.

  5. #5

    Thread Starter
    Hyperactive Member RealNickyDude's Avatar
    Join Date
    Nov 2002
    Location
    Watching you through the hidden camera :o
    Posts
    435
    Thanks Edneeis, after a lot of diffetent docking combinations, it finally works.
    [vbcode]
    On Error GoTo Hell
    [/vbcode]:¬) Nicky : Why not try VBCodebook.NET.

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