CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 2003
    Location
    Georgia
    Posts
    107

    Using Tab in Rich textbox

    Hello I am trying to use the tab key in the Richtextbox but instead it goes to the next control on the form. How can I make the cursor move 5 spaces in the rich textbox? I will appreciate any help.

  2. #2
    Join Date
    Apr 2003
    Posts
    10
    Use the Keypress event, add 4 spaces to the text, and then change the code to a 32 before exiting as well.

  3. #3
    Join Date
    Apr 2003
    Location
    Georgia
    Posts
    107
    wow...thanx alot i didnt think about that

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