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

RichTextBox

Scheduled Pinned Locked Moved C#
question
2 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.
  • S Offline
    S Offline
    Saikek
    wrote on last edited by
    #1

    Hello! Sorry for my million annoying questions, but i have another one. So: I have i RichTextBox, and i click in the center of some word. How can i get a full word ? (is there some methods, or i have to move left and right to spaces?) Thanks!

    One nation - underground

    J 1 Reply Last reply
    0
    • S Saikek

      Hello! Sorry for my million annoying questions, but i have another one. So: I have i RichTextBox, and i click in the center of some word. How can i get a full word ? (is there some methods, or i have to move left and right to spaces?) Thanks!

      One nation - underground

      J Offline
      J Offline
      Judah Gabriel Himango
      wrote on last edited by
      #2

      With the System.Windows.Forms.RichTextBox, yes, you have to do your own code to figure out the word given a location. If you use the Windows Presentation Foundation (WPF) RichTextBox, there's some built-in things to help you get the run/word/paragraph at a particular point, IIRC.

      Tech, life, family, faith: Give me a visit. I'm currently blogging about: The Virginia Tech Shootings, Guns, and Politics The apostle Paul, modernly speaking: Epistles of Paul Judah Himango

      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