Re: Accessing selected text within a richTextBox

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Ignacio Machin ( .NET/ C# MVP )

    Re: Accessing selected text within a richTextBox

    On Jul 22, 9:41 am, "none" <n...@none.comw rote:
    All
    I was wondering if someone could point me to a simple step-by-step C#
    example of accessing selected text within a richTextBox... The functionality
    I'm looking for is ultimately the kind you get with a toolbar shortcut (ie:
    bold selected text) but I'm so new to .Net, I can't figure out how to
    reference a selection of text within the richTextBox.
    Any help on this matter would be greatly appreciated.  Thanks in advance. -
    CES
    >
     QMARK.GIF
    1KViewDownload
    >
     ARROW.GIF
    1KViewDownload
    Take a look at the Selected property of the RichTextBox control
Working...