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. First Visible Column -- RichTextBox

First Visible Column -- RichTextBox

Scheduled Pinned Locked Moved C#
tutorial
6 Posts 2 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.
  • J Offline
    J Offline
    Jay Shankar
    wrote on last edited by
    #1

    Hi CPians, I need to find out first visible column of a RichTextBox. Please render suggestions how to go for it. Thanks in advance. Regards, Jay.

    D 1 Reply Last reply
    0
    • J Jay Shankar

      Hi CPians, I need to find out first visible column of a RichTextBox. Please render suggestions how to go for it. Thanks in advance. Regards, Jay.

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      Columns? In a RichTextBox? Whatever do you mean? Are you talking about the first visible Text character? RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

      J 1 Reply Last reply
      0
      • D Dave Kreskowiak

        Columns? In a RichTextBox? Whatever do you mean? Are you talking about the first visible Text character? RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

        J Offline
        J Offline
        Jay Shankar
        wrote on last edited by
        #3

        Hi Dave, Sorry for not being too descriptive, I want to get first visible text character index. Regards, Jay.

        D 1 Reply Last reply
        0
        • J Jay Shankar

          Hi Dave, Sorry for not being too descriptive, I want to get first visible text character index. Regards, Jay.

          D Offline
          D Offline
          Dave Kreskowiak
          wrote on last edited by
          #4

          Off the top of my head, no methods for this exist. Are you talking about the first visible character in the RTF stream? I mean, strip away all the RTF formatting and getting the position in the stream of the first character that would render visibly in the control? Or are you talking about the first visible character when scrolling the control contents left and right? RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

          J 1 Reply Last reply
          0
          • D Dave Kreskowiak

            Off the top of my head, no methods for this exist. Are you talking about the first visible character in the RTF stream? I mean, strip away all the RTF formatting and getting the position in the stream of the first character that would render visibly in the control? Or are you talking about the first visible character when scrolling the control contents left and right? RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

            J Offline
            J Offline
            Jay Shankar
            wrote on last edited by
            #5

            I mean first visible character when scrolling the control contents left and right.

            D 1 Reply Last reply
            0
            • J Jay Shankar

              I mean first visible character when scrolling the control contents left and right.

              D Offline
              D Offline
              Dave Kreskowiak
              wrote on last edited by
              #6

              Unfortunately, no methods exist for what you want to do. I can't really come up with a way to do it either. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

              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