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. Making a Rich textbox control border to rounded rectangle

Making a Rich textbox control border to rounded rectangle

Scheduled Pinned Locked Moved C#
csharphelpgraphics
3 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
    psmukil
    wrote on last edited by
    #1

    I am facing a situation where i need to change the border of a rich textbox ontrol from shrp corner to rounded rectangle. Can anyone help me to solve this problem in a easier way using C#.net 2005. Is it needed to use GDI and painting to change the border to rounded rectangle. Any replies will be great. thanks in advance. Mukilan

    M 1 Reply Last reply
    0
    • P psmukil

      I am facing a situation where i need to change the border of a rich textbox ontrol from shrp corner to rounded rectangle. Can anyone help me to solve this problem in a easier way using C#.net 2005. Is it needed to use GDI and painting to change the border to rounded rectangle. Any replies will be great. thanks in advance. Mukilan

      M Offline
      M Offline
      mav northwind
      wrote on last edited by
      #2

      I strongly doubt you can do this by modifying a RTB. You could create a rounded rectangle Panel and place a regular RTB with BorderStyle=None on this Panel. Regards, mav -- Black holes are the places where god divided by 0...

      P 1 Reply Last reply
      0
      • M mav northwind

        I strongly doubt you can do this by modifying a RTB. You could create a rounded rectangle Panel and place a regular RTB with BorderStyle=None on this Panel. Regards, mav -- Black holes are the places where god divided by 0...

        P Offline
        P Offline
        psmukil
        wrote on last edited by
        #3

        Thank you very much for your earliest reply. Even i thought of the same like changing the border of groupbox or using panel. I will try it and inform you. Regards Mukilan.

        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