TBaseVirtualTree.GetMaxColumnWidth Method

Virtual Tree View

Returns the width of the largest node in the given column.

Pascal
function GetMaxColumnWidth(Column: TColumnIndex): Integer;
Description

This method is mainly used to determine a minimal width of the given column without having to shorten a node caption. Since the method has to go through all visible nodes and initialize them to learn about their width it might be time consuming to call this method and circumvents also the virtual approach of the tree.

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