Sign in Join
FPDoc Onlineexperiment

TCustomComboBox.MaxLength property

Member of TCustomComboBoxprotectedIn unit StdCtrls

The maximum length for text entered in the edit box for the control.

Declaration

pascal
property MaxLength: Integer read GetMaxLength write SetMaxLength default 0;

Description

MaxLength is an Integer property which contains the maximum length for a value entered in the Text for the control. It controls the number of characters allowed in the edit box, but does not limit the length of the value that can be directly assigned to Text. MaxLength is passed to and read from the widgetset class when a handle has been assigned for the control.

The default value for the property is 0 (zero), and indicates that a maximum length has not been specified in the property. Setting the value for the property does not alter the existing value in Text.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.