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. Visual Basic
  4. Text Box with Rounded corners

Text Box with Rounded corners

Scheduled Pinned Locked Moved Visual Basic
csharp
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.
  • T Offline
    T Offline
    todd 01011101
    wrote on last edited by
    #1

    Hey I am using vb.net in vs2k5 and .net2.0. I have searched online to try and find a way to create text boxes (on a windows form) with a little bit more of a modern look &= slightly rounded corners. I can't think of anything to search for that doesn't give me back loads of irrelevant answers. I'm thinking that there must be a reasonably simple way to pull this off. If someone can kindly point me in the right direction I would appreciate it. Thanks

    P 1 Reply Last reply
    0
    • T todd 01011101

      Hey I am using vb.net in vs2k5 and .net2.0. I have searched online to try and find a way to create text boxes (on a windows form) with a little bit more of a modern look &= slightly rounded corners. I can't think of anything to search for that doesn't give me back loads of irrelevant answers. I'm thinking that there must be a reasonably simple way to pull this off. If someone can kindly point me in the right direction I would appreciate it. Thanks

      P Offline
      P Offline
      Probeer Das
      wrote on last edited by
      #2

      Override OnPaint method and draw whatever shape you want

      T 1 Reply Last reply
      0
      • P Probeer Das

        Override OnPaint method and draw whatever shape you want

        T Offline
        T Offline
        todd 01011101
        wrote on last edited by
        #3

        Ok, I've never tried anything like that for a textbox. It may be simple, but if someone has a quick example, that could be helpful.. Thanks for the response.

        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