TVirtualDrawTree.OnGetNodeWidth Event

Virtual Tree View

Triggered when a node is about to be drawn.

Pascal
property OnGetNodeWidth: TVTGetNodeWidthEvent;
Description

Use an event handler for OnGetNodeWidth to return your calculated width for the given node. Since the draw does not know the width of a node you have to tell it yourself.

Class
Links
What do you think about this topic? Send feedback!