Kbase 15166: Move-to-bottom will not "work" if child frame not sibling
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  5/10/1998 |
|
Move-to-bottom will not "work" if child frame not sibling
Why Layout->Move-to-bottom may not move frame under default frame
-----------------------------------------------------------------
In the UIB, if you create a frame on top of the default frame, it
is considered a CHILD of the default frame. This 2nd frame
is a SIBLING of all the other WIDGETS in the default frame.
This child frame has a place in the z-order of the default
frame. It is initially at the top of the z-order, so
when you move it atop the other widgets it covers them. When
you choose Layout->move-to-bottom, the child frame moves
to the bottom of the default frame's z-order, so the
other widgets in the default frame cover the child frame.
This is all correct behavior. A child frame will never be
below its parent in the z-order (just as a fill-in can
never be below the frame which contains it).
If you don't create the frame as a child of the default
frame, then the new frame is the SIBLING of the DEFAULT
FRAME and a member of the window`s z-order and when you
select Layout->move-to-bottom it will be covered by the
default frame.
THerefore, it is very important WHERE you create the
frame in the UIB. If you create it ON TOP of the default
frame it will be considered it's CHILD FRAME. If you
create it outside of the default frame, it will
be considered a SIBLING FRAME.
Notice: This only happens in version 8 and above
since earlier versions did not allow FRAMES to OWN
other FRAMES.
Progress Software Technical Support Note # 15166