Vcl.CheckLst.TCheckListBox.OnClickCheck
Delphi
property OnClickCheck: TNotifyEvent read FOnClickCheck write FOnClickCheck;
C++
__property System::Classes::TNotifyEvent OnClickCheck = {read=FOnClickCheck, write=FOnClickCheck};
Propriétés
Type | Visibilité | Source | Unité | Parent |
---|---|---|---|---|
event | published | Vcl.CheckLst.pas Vcl.CheckLst.hpp |
Vcl.CheckLst | TCheckListBox |
Description
Se produit quand l'utilisateur sélectionne ou désélectionne la case à cocher d'un élément.
Ecrivez un gestionnaire d'événement OnClickCheck pour effectuer des actions spécifiques quand l'utilisateur coche ou décoche un élément.
Remarque : Cet événement ne se produit pas pour les éléments qui sont grisés (State=cbGrayed) ou désactivés (ItemEnabled=false).