|
TBaseVirtualTree.MultiLine Property
Read or toggle the multiline feature for a given node.
Pascal
property MultiLine [Node: PVirtualNode]: Boolean;
Description
Since multiline support for nodes requires extra processing this behavior is switchable. When switched on the node is wrapped into the available space until the node height is exhausted. By including carriage return/line feed pairs you can explicitely specify where to start new lines. The node's height is not automatically adjusted to the given text. Instead there is an event (OnMeasureItem), which can be used to compute a node's height before it is displayed the first time. In addition an application can use the ComputeNodeHeight method to compute the height of the node depending on its caption text.
Class
Links
What do you think about this topic? Send feedback!
|