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. How to use rtf table of contents in RichTextBox

How to use rtf table of contents in RichTextBox

Scheduled Pinned Locked Moved C#
csharphelptutorialquestion
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.
  • P Offline
    P Offline
    panoskatws
    wrote on last edited by
    #1

    Hallo all, I'm using c# to load an rtf file in a richTextBox but I have a problem when the file includes table of contents (TOC). The TOC appears as plain text, while in ms word it has blue fore color, and if you press it (in ms word "control button and click") it does not respond at all. Is there a way to use the TOC in richTextBox?? Thanks!!

    D 1 Reply Last reply
    0
    • P panoskatws

      Hallo all, I'm using c# to load an rtf file in a richTextBox but I have a problem when the file includes table of contents (TOC). The TOC appears as plain text, while in ms word it has blue fore color, and if you press it (in ms word "control button and click") it does not respond at all. Is there a way to use the TOC in richTextBox?? Thanks!!

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

      Nope. Not supported. RichTextBox does not contain a complete implementation of RTF. Also, Word offers features that you don't find in the RTF specification.

      A guide to posting questions on CodeProject[^]
      Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
           2006, 2007, 2008

      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