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

TControl.AutoSize

Allows to automatically adjust the size of the control, according to its content.

Declaration

Source position: controls.pp line 1544

public property TControl.AutoSize: Boolean
  read FAutoSize
  write SetAutoSize
  default false;

Description

The effect depends on the concrete control type. For example a label or button can become bigger or smaller to accommodate a longer or shorter caption.

Default is false, ie no auto-sizing

See also

Autosize topic

  

AutoSize - boolean property that permits the size of a control to be adjusted automatically

This page is hosted on Get Lazarus Code and Component Repository at SourceForge.net. Fast, secure and Free Open Source software downloads