API:Vcl.CheckLst.TCheckListBox.OnData
Delphi
property OnData: TLBGetDataEvent read FOnData write FOnData;
C++
__property OnData;
Propriétés
Type | Visibilité | Source | Unité | Parent |
---|---|---|---|---|
event | published | Vcl.CheckLst.pas Vcl.CheckLst.hpp |
Vcl.CheckLst | TCheckListBox |
Description
Se produit lorsqu'une boîte liste virtuelle a besoin de fournir le texte d'un élément.
Vcl.CheckLst.TCheckListBox.OnData hérite de Vcl.StdCtrls.TCustomListBox.OnData. Tout le contenu en-dessous de cette ligne se réfère à Vcl.StdCtrls.TCustomListBox.OnData.
Se produit lorsqu'une boîte liste virtuelle a besoin de fournir le texte d'un élément.
Vous devez fournir un gestionnaire d'événements OnData pour fournir dynamiquement les éléments de la boîte liste lorsque la propriété Style a la valeur lbVirtual ou lbVirtualOwnerDraw.
OnData est un gestionnaire d'événements du type Vcl.StdCtrls.TLBGetDataEvent.