API:Vcl.ComCtrls.TTreeView.OnExpanding
Delphi
property OnExpanding: TTVExpandingEvent read FOnExpanding write FOnExpanding;
C++
__property OnExpanding;
Propriétés
Type | Visibilité | Source | Unité | Parent |
---|---|---|---|---|
event | published | Vcl.ComCtrls.pas Vcl.ComCtrls.hpp |
Vcl.ComCtrls | TTreeView |
Description
Se produit quand un noeud va être développé.
Vcl.ComCtrls.TTreeView.OnExpanding hérite de Vcl.ComCtrls.TCustomTreeView.OnExpanding. Tout le contenu en-dessous de cette ligne se réfère à Vcl.ComCtrls.TCustomTreeView.OnExpanding.
Se produit quand un noeud va être développé.
Ecrivez un gestionnaire d'événements OnExpanding pour déterminer si un noeud peut être développé. Affectez la valeur false au paramètre AllowExpansion pour empêcher le développement du noeud.
OnExpanding est un gestionnaire d'événements du type Vcl.ComCtrls.TTVExpandingEvent.