Unit 'layers' Package
[Overview][Constants][Types][Procedures and functions][Variables][Index] [#os4units]

BehindLayer

Put layer behind other layers.

Declaration

Source position: layers.pas line 159

function BehindLayer(

  Dummy: LongInt;

  Layer: PLayer

):LongInt;

Arguments

Dummy

  

unused

Layer

  

Pointer to a layer

Function result

True - if operation successful. False - if operation unsuccessful (probably out of memory)

Description

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.


Documentation generated on: 2021-07-30