FMX.ListBox.TListBoxSelector.SetCurrent
Delphi
function SetCurrent(const Index: Integer): Boolean;
C++
bool __fastcall SetCurrent(const int Index);
Propriétés
| Type | Visibilité | Source | Unité | Parent |
|---|---|---|---|---|
| function | public | FMX.ListBox.pas FMX.ListBox.hpp |
FMX.ListBox | TListBoxSelector |
Description
Définit la valeur d'index de l'élément avec l'index Index comme valeur en cours.
Renvoie True si la valeur change. Renvoie False si Index est déjà défini comme valeur en cours.