Vcl.DBCtrls.TDBLookupListBox.SelectedItem

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property SelectedItem: string read FSelectedItem;

C++

__property System::UnicodeString SelectedItem = {read=FSelectedItem};

Properties

Type Visibility Source Unit Parent
property public
Vcl.DBCtrls.pas
Vcl.DBCtrls.hpp
Vcl.DBCtrls TDBLookupListBox

Description

Contains the value displayed in the list box that is currently selected.

Read SelectedItem to determine the value the user selected using the lookup list box. If no item is selected, SelectedItem is an empty string.



StrVar := DBLookupListBox1.SelectedItem;



StrVar = DBLookupListBox1->SelectedItem;



See Also