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. Remove groupbox borders

Remove groupbox borders

Scheduled Pinned Locked Moved C#
csharp
4 Posts 4 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.
  • A Offline
    A Offline
    Ankit Aneja
    wrote on last edited by
    #1

    In a C# WINDOWS BASED APPLICATION I have GroupBox,I want to remove its borders or make them invisible whats the way to do it

    Ankit Aneja "Nothing is impossible. The word itself says - I M possible"

    C K 2 Replies Last reply
    0
    • A Ankit Aneja

      In a C# WINDOWS BASED APPLICATION I have GroupBox,I want to remove its borders or make them invisible whats the way to do it

      Ankit Aneja "Nothing is impossible. The word itself says - I M possible"

      C Offline
      C Offline
      Colin Angus Mackay
      wrote on last edited by
      #2

      You might want to use a panel instead.


      Upcoming events: * Glasgow Geek Dinner (5th March) * Glasgow: Tell us what you want to see in 2007 My: Website | Blog | Photos

      1 Reply Last reply
      0
      • A Ankit Aneja

        In a C# WINDOWS BASED APPLICATION I have GroupBox,I want to remove its borders or make them invisible whats the way to do it

        Ankit Aneja "Nothing is impossible. The word itself says - I M possible"

        K Offline
        K Offline
        krieg38
        wrote on last edited by
        #3

        Or you could override the OnPaint event of the group box and make your custom painting, but this is some kind of hard.

        B 1 Reply Last reply
        0
        • K krieg38

          Or you could override the OnPaint event of the group box and make your custom painting, but this is some kind of hard.

          B Offline
          B Offline
          bobsugar222
          wrote on last edited by
          #4

          Not really. But it would be simpler to use a Panel and override the Onpaint to draw the label text.

          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