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. .NET (Core and Framework)
  4. Bug when using User Controls within containers ?

Bug when using User Controls within containers ?

Scheduled Pinned Locked Moved .NET (Core and Framework)
winformshelpcsharpdesigndocker
4 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.
  • M Offline
    M Offline
    MrBean
    wrote on last edited by
    #1

    When using User Controls in a .NET Windows Forms app, the designer sometimes "activates" controls within a User Control when in design-mode, but only when the User Control have been placed within a container control (like a Panel or Groupbox). Look at this zipped AVI movie which demonstrates the problem : http://www.bean.dk/uctest/UCTest.avi.zip The full source code for the example can be found here : http://www.bean.dk/uctest/UCTest.source.zip This would normally only be a minor thing since the bug only occurs at design-time, but I'm using .NET's designer in my own app. so the users can design forms themselves. Is there a workaround to avoid controls within a User Control to be "activated" when the user clicks on them design-time ? Thanks in advance, /Bean

    M 1 Reply Last reply
    0
    • M MrBean

      When using User Controls in a .NET Windows Forms app, the designer sometimes "activates" controls within a User Control when in design-mode, but only when the User Control have been placed within a container control (like a Panel or Groupbox). Look at this zipped AVI movie which demonstrates the problem : http://www.bean.dk/uctest/UCTest.avi.zip The full source code for the example can be found here : http://www.bean.dk/uctest/UCTest.source.zip This would normally only be a minor thing since the bug only occurs at design-time, but I'm using .NET's designer in my own app. so the users can design forms themselves. Is there a workaround to avoid controls within a User Control to be "activated" when the user clicks on them design-time ? Thanks in advance, /Bean

      M Offline
      M Offline
      MrBean
      wrote on last edited by
      #2

      *bump* Anyone ?

      M 1 Reply Last reply
      0
      • M MrBean

        *bump* Anyone ?

        M Offline
        M Offline
        MrBean
        wrote on last edited by
        #3

        *double bump*

        M 1 Reply Last reply
        0
        • M MrBean

          *double bump*

          M Offline
          M Offline
          MrBean
          wrote on last edited by
          #4

          *triple bump* I can't be the only one with this problem ?

          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