Unit 'Controls' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#lcl]

TSizeConstraints.Control

The associated Control to which these constraints apply.

Declaration

Source position: controls.pp line 737

public property TSizeConstraints.Control : TControl
  read FControl;

Description

Control contains the value passed as an argument to the Create constructor. It represents the control which is notified and updated when values in the MaxHeight, MaxWidth, MinHeight, or MinWidth properties are changed. Control is used in the Change method to apply the new size constraints. It also allows access to properties in both the control and its widget instance - like the handle and component state.

See also

TSizeConstraints.Create

  

Constructor for the class instance.

TSizeConstraints.MaxHeight

  

The maximum height for the associated Control.

TSizeConstraints.MaxWidth

  

The maximum width for the associated Control.

TSizeConstraints.MinHeight

  

The minimum height for the associated Control.

TSizeConstraints.MinWidth

  

The minimum width for the associated Control.

TSizeConstraints.Change

  

Adjusts the size for the associated Control, and signals the OnChange handler when assigned.

TControl.Constraints

  

Contains the minimum and maximum Width and Height for the control.

TControl.DoConstraintsChange

  

Performs actions needed when value(s) in Constraints have been changed.



CT Web help

CodeTyphon Studio