Put layer behind other layers.
Source position: layers.pas line 159
function BehindLayer( |
Dummy: LongInt; |
Layer: PLayer |
):LongInt; |
Dummy |
|
unused |
Layer |
|
Pointer to a layer |
True - if operation successful. False - if operation unsuccessful (probably out of memory)
Move this layer to the most behind position swapping bits in and out of the display with other layers. If other layers are REFRESH then collect their damage lists and set the LAYERREFRESH bit in the Flags fields of those layers that may be revealed. If this layer is a backdrop layer then put this layer behind all other backdrop layers. If this layer is not a backdrop layer then put in front of the top backdrop layer and behind all other layers.
Attention
This operation may generate refresh events in other layers associated with this layer's TLayer_Info structure.