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 have a very/better responsive RichTextBox (no WordWrap) when it is resized ?

How to have a very/better responsive RichTextBox (no WordWrap) when it is resized ?

Scheduled Pinned Locked Moved C#
helpc++mobiletutorialquestion
1 Posts 1 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.
  • G Offline
    G Offline
    girm
    wrote on last edited by
    #1

    Hi There (sorry for my english, not my native language), I'am using a RichTextBox (docked "fill" in a form) , with no word wrapping , my problem is that when it is polpulated with around 50.000 line resizing the parent form takes times. Considering that : -scrolling is fast -I do not want word wrapping It seems weird to me why there is this overhead when resizing(*). I am thinking of a solution: - do not dock the rtf , size it at screen maximum size (and so let the parent form hide the "out of client area" parts). - handle scroll bars of my own But before starting the big thing I will *really* apreciate if anyone has already solved this kind of problem or , have a better idea ??? Thanks in advance for any help or views (*) WordPad for instance it rft based and is damned fast in resizing big documents. Girm

    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