[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Controls' (#lcl)

TControl.ReadBounds

Reflects the Bounds for the Control read during LCL component streaming.

Declaration

Source position: controls.pp line 1618

public property TControl.ReadBounds : TRect
  read FReadBounds;

Description

ReadBounds is a read-only TRect property used when the values for the Top, Left, Height and Width properties are set during LCL component streaming. When ComponentState contains csLoading, changes to these properties cause the new values to be applied to ReadBounds prior to calling the SetBounds method. The internal ControlFlags are also updated to indicate that the property value has been loaded using LCL component streaming.

See also

TControl.Left

  

The client coordinate of the left edge of the control.

TControl.Top

  

The client coordinate of the top edge of the control.

TControl.Width

  

The horizontal extent of the control.

TControl.Height

  

The vertical size of the control.

TControl.SetBounds

  

Sets the bounds (Left, Top, Width, Height) of the control.

TControl.BaseBounds

  

The rectangle of the designed bounds.

TControlFlag

  

Flags mostly for pending actions.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.