Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. RichTextBox Question

RichTextBox Question

Scheduled Pinned Locked Moved C#
question
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    bneacetp
    wrote on last edited by
    #1

    How would I go about changing the number of spaces a tab uses when the user presses Tab on his/her keyboard? :confused: Thanks in advance. Happy Programming and may God Bless! "Your coding practices might be buggy, but your code is always right." Internet::WWW::CodeProject::bneacetp

    L H 2 Replies Last reply
    0
    • B bneacetp

      How would I go about changing the number of spaces a tab uses when the user presses Tab on his/her keyboard? :confused: Thanks in advance. Happy Programming and may God Bless! "Your coding practices might be buggy, but your code is always right." Internet::WWW::CodeProject::bneacetp

      L Offline
      L Offline
      leppie
      wrote on last edited by
      #2

      From my experience, I dont think u can, I digged alot thru the Win API but couldnt find anything... top secret xacc-ide 0.0.1

      1 Reply Last reply
      0
      • B bneacetp

        How would I go about changing the number of spaces a tab uses when the user presses Tab on his/her keyboard? :confused: Thanks in advance. Happy Programming and may God Bless! "Your coding practices might be buggy, but your code is always right." Internet::WWW::CodeProject::bneacetp

        H Offline
        H Offline
        Heath Stewart
        wrote on last edited by
        #3

        See the documentation[^] for the RichTextBox.SelectionTabs property. This is the same as sending the EM_SETPARAFORMAT with a PARAFORMAT2 structure in native code with the cTabCount and rgzTabs fields assigned.

        Microsoft MVP, Visual C# My Articles

        B 1 Reply Last reply
        0
        • H Heath Stewart

          See the documentation[^] for the RichTextBox.SelectionTabs property. This is the same as sending the EM_SETPARAFORMAT with a PARAFORMAT2 structure in native code with the cTabCount and rgzTabs fields assigned.

          Microsoft MVP, Visual C# My Articles

          B Offline
          B Offline
          bneacetp
          wrote on last edited by
          #4

          Thanks for the help. :-D Happy Programming and may God Bless! "Your coding practices might be buggy, but your code is always right." Internet::WWW::CodeProject::bneacetp

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups