RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDBLookupListBox.SelectedItem Property

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

Pascal
property SelectedItem: string;
C++
__property AnsiString SelectedItem;

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;

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!