TDBComboBox.MaxLength property
The maximum length for text entered in the edit box for the control.
Declaration
property MaxLength: default - 1;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 -1 in TDBComboBox, and forces the widgetset class to update its value for 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.
