RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomTreeView.OnExpanding Event

Occurs when a node is about to be expanded.

Pascal
property OnExpanding: TTVExpandingEvent;
C++
__property TTVExpandingEvent OnExpanding;

Write an OnExpanding event handler to determine whether a node can be expanded. Set the AllowExpansion parameter to false to prevent the node from expanding. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!