CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Sep 2005
    Posts
    63

    Talking Justify Ruch Text Box

    Hi,
    how can i set tehe justify properties for a rich text box?

    Than's

  2. #2
    Join Date
    Jan 2006
    Location
    18° 32' N / 73° 52' E
    Posts
    416

    Re: Justify Ruch Text Box

    Please explain in detail what exactly you want to do ?
    Regards,
    MMH
    Rate my post if you find it usefull.

  3. #3
    Join Date
    Oct 2006
    Location
    Timisoara, Romania
    Posts
    123

    Re: Justify Ruch Text Box

    Use SelectionAlignment. If no text is slected, the text you will enter will be justified the way you set it up. If text is selected, the selection will be justified.

    Code:
    richTextBox1.SelectionAlignment = HorizontalAlignment.Center;

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

Featured