Vcl.CheckLst.TCheckListBox.Checked
Delphi
property Checked[Index: Integer]: Boolean read GetChecked write SetChecked;
C++
__property bool Checked[int Index] = {read=GetChecked, write=SetChecked};
Propriétés
Type | Visibilité | Source | Unité | Parent |
---|---|---|---|---|
property | public | Vcl.CheckLst.pas Vcl.CheckLst.hpp |
Vcl.CheckLst | TCheckListBox |
Description
Indique les éléments qui sont cochés.
Pour chaque membre de la propriété tableau Items, Checked a la valeur true si une coche apparaît dans la case à cocher de l'élément. Checked correspond à l'état cbChecked ; c'est-à-dire que Checked a la valeur true quand State = cbChecked et false quand State = cbUnchecked ou State = cbGrayed.
Remarque : Les éléments ayant été désactivés avec la propriété ItemEnabled peuvent encore avoir un état cbChecked et la valeur true pour la propriété Checked.