• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

4.5. Z-Order

The z-order of a control is the position of the control in the drawing order of its parent.[8] A control that is higher in the drawing order than some other control is said to be above the other control. Similarly, the lower control is said to be below the other control. When one control is above another and the controls overlap, the higher control is drawn on top, obscuring the overlapping part of the other control.

[8] The term z-order refers to the z axis of the standard mathematical XYZ coordinate system used to describe objects in three-dimensional space.

In SWT, the z-order matches the order that controls are stored in the children list of the parent. Controls that are on top occur earlier in the list. When a control is created, it is placed at the end of the children list, below the other siblings.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint