-
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!
-
Re: dock ordering
you need to control the Z-Order of the controls in order to 'Send to Back' or 'Bring to Front'
-
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.