List Controls

From RAD Studio
Jump to: navigation, search

Go Up to Types of Controls Index

Lists present the user with a collection of items to select from. Several components display lists:

Use this component: To display:

Vcl.StdCtrls.TListBox

A list of text strings

Vcl.CheckLst.TCheckListBox

A list with a check box in front of each item

Vcl.StdCtrls.TComboBox

An edit box with a scrollable drop-down list

Vcl.ComCtrls.TTreeView

A hierarchical list

Vcl.ComCtrls.TListView

A list of (draggable) items with optional icons, columns, and headings

Vcl.ComCtrls.TDateTimePicker

A list box for entering dates or times (VCL applications only)

Vcl.ComCtrls.TMonthCalendar

A calendar for selecting dates (VCL applications only)

Use the nonvisual TStringList and TImageList components to manage sets of strings and images. For more information about string lists, see Working with String Lists.

Topics

See Also