Results 1 to 5 of 5

Thread: Move RTB

  1. #1

    Thread Starter
    Member
    Join Date
    Jan 2016
    Posts
    33

    Move RTB

    hello,
    so i add to form richtextbox so my question is how can i do when i run the software and i would move the rtb .
    i give you guys example:
    like restore and maximize google chrome or any application . only on richtextbox.
    thnx for help

  2. #2
    PowerPoster
    Join Date
    Sep 2006
    Location
    Egypt
    Posts
    2,579

    Re: Move RTB

    You can use Dock property RichTextBox1.Dock = DockStyle.Fill

    Also there are some containers you can use to build your form layout e.g. SplitContainer, TableLayoutPanel and FlowLayoutPanel



  3. #3

    Thread Starter
    Member
    Join Date
    Jan 2016
    Posts
    33

    Re: Move RTB

    Quote Originally Posted by 4x2y View Post
    You can use Dock property RichTextBox1.Dock = DockStyle.Fill

    Also there are some containers you can use to build your form layout e.g. SplitContainer, TableLayoutPanel and FlowLayoutPanel
    it's not what i ment, but thnx anyway.
    i just show u a pic:
    Name:  DragEx.jpg
Views: 83
Size:  16.8 KB
    EDIT : as u see i can move the rtb ...

  4. #4
    PowerPoster
    Join Date
    Sep 2006
    Location
    Egypt
    Posts
    2,579

    Re: Move RTB

    So, you need to use SplitContainer, add one to your form, drop RichTextBox in right panel and the other control to the left panel.



  5. #5

    Thread Starter
    Member
    Join Date
    Jan 2016
    Posts
    33

    Re: Move RTB

    Quote Originally Posted by 4x2y View Post
    So, you need to use SplitContainer, add one to your form, drop RichTextBox in right panel and the other control to the left panel.
    oh, yes i didnt read the second line.
    and Rated.

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