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. SplitContainer problem

SplitContainer problem

Scheduled Pinned Locked Moved C#
help
4 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.
  • L Offline
    L Offline
    lune12
    wrote on last edited by
    #1

    Hi, I'm using the control SplitContainer on run time. uppon request I'm generating a tab that contains SplitContainers. I set all the properties as needed including the SplitterDistance, BUT when the application is running the spliter is not positioned as expected. it seems that it use some default parameter that ovveride the explicit setting. Thanks for your help, lune

    M 1 Reply Last reply
    0
    • L lune12

      Hi, I'm using the control SplitContainer on run time. uppon request I'm generating a tab that contains SplitContainers. I set all the properties as needed including the SplitterDistance, BUT when the application is running the spliter is not positioned as expected. it seems that it use some default parameter that ovveride the explicit setting. Thanks for your help, lune

      M Offline
      M Offline
      Muhammad Mazhar
      wrote on last edited by
      #2

      Its hard to comment about it but a wild guess could be to check your dock and anchor properties.

      Share your experience with others Check my Blog...

      L 1 Reply Last reply
      0
      • M Muhammad Mazhar

        Its hard to comment about it but a wild guess could be to check your dock and anchor properties.

        Share your experience with others Check my Blog...

        L Offline
        L Offline
        lune12
        wrote on last edited by
        #3

        The dock is fill. and anchor is top and left. I saw that if I set the parameter in an event such SelectedIndexChange it works. but I feel that is wrong to do such a thing (and also it doesn't cover all the cases) any other guess? Thanks.

        M 1 Reply Last reply
        0
        • L lune12

          The dock is fill. and anchor is top and left. I saw that if I set the parameter in an event such SelectedIndexChange it works. but I feel that is wrong to do such a thing (and also it doesn't cover all the cases) any other guess? Thanks.

          M Offline
          M Offline
          Muhammad Mazhar
          wrote on last edited by
          #4

          this comment made me think that may be its some code level change overriding the design view changes. Go through your code and make sure that your adjusted styles not being overridden at code level.

          Share your experience with others Check my Blog...

          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