Consultor Eletrônico



Kbase P175268: When a control is fill docked and then undocked to add a new control, when it is docked again it goe
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   03/01/2011
Status: Unverified

SYMPTOM(s):

When a control is fill docked and then undocked to add a new control, when it is docked again it goes over the new control instead of under it

FACT(s) (Environment):

Windows
OpenEdge 10.2B

CAUSE:

Docking a control tells the control to adhere to the edges of its container. When docking multiple controls to the same edge (i.e. Top, Bottom, etc) .NET uses the z-order of the controls (i.e. the order they were added to the container) to determine the order in which multiple controls docked to the same edge will appear.

FIX:

This is expected behavior. Visual Studio docks controls in the same way (i.e. z-order).