FMX.ListBox.TCustomListBox.GetData
Delphi
function GetData: TValue; override;
C++
virtual System::Rtti::TValue __fastcall GetData();
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| function | protected | FMX.ListBox.pas FMX.ListBox.hpp |
FMX.ListBox | TCustomListBox |
Description
Gets the text of the selected item.
GetData returns the text of the item that is selected in the list box or an empty string, if no item is selected.