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

TConstrainedResizeEvent

Specifies an event handler signalled to resize a control to the specified size constraints.

Declaration

Source position: controls.pp line 691

type TConstrainedResizeEvent = procedure(

  Sender: TObject;

  var MinWidth: TConstraintSize;

  var MinHeight: TConstraintSize;

  var MaxWidth: TConstraintSize;

  var MaxHeight: TConstraintSize

) of object;

Arguments

Sender

  

TObject for the event notification.

Description

TConstrainedResizeEvent is an object procedure type that specifies an event handler signalled to resize a control to the specified size constraints. Used to implement the OnConstrainedResize event in TControl.

See also

TControl.OnConstrainedResize

  

This handler can supply specific Constraints (size limits), when the control is resized.

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