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

TCustomComboBox.Text

The string appearing in the edit box.

Declaration

Source position: stdctrls.pp line 407

public property TCustomComboBox.Text : TCaption;

Description

Setting Text selects a possibly matching item in the list.

If an item is selected from the list, it replaces the contents of Text.

Free user input can be disallowed by the ReadOnly property, so that only strings from the list can be selected.

Text completion can be established by the AutoComplete property.

See also

TCustomComboBox.ReadOnly

  

Disallows entry of free text.

TCustomComboBox.Style

  

Appearance and behaviour of the ComboBox (static/drop-down, owner-draw...).

TCustomComboBox.AutoComplete

  

Allows to select items from partial input, of the begin of the item text.

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