Results 1 to 3 of 3

Thread: dock ordering

  1. #1

    Thread Starter
    Junior Member
    Join Date
    May 2010
    Posts
    25

    dock ordering

    i frequently have troubles with the dock property.

    it seems that either the order of creation or adding to the parent control determines whether or not a control's dock property supersedes another's. e.g. a control with the dockstyle fill will overlap with another docked control on the same parent.

    does anyone know what the rules are to determine how docking will behave; particularly in dynamically created GUIs?

    thanks!

  2. #2
    Frenzied Member
    Join Date
    Jun 2007
    Location
    India
    Posts
    1,158

    Re: dock ordering

    you need to control the Z-Order of the controls in order to 'Send to Back' or 'Bring to Front'

  3. #3

    Thread Starter
    Junior Member
    Join Date
    May 2010
    Posts
    25

    Re: dock ordering

    i had read that, but when i tried this in the designer, it did not have the desired effect. however, i just tried using these methods in the dynamically generated code, and it works as expected.

    thanks.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width