TBaseVirtualTree.DoGetNodeWidth Method

Virtual Tree View

Overridable method which always retuns 0.

Pascal
function DoGetNodeWidth(Node: PVirtualNode; Column: TColumnIndex; Canvas: TCanvas = nil): Integer; virtual;
Description

Descentants override this method to return a value which describes the width of a node. This is the inner width of the node excluding tree lines etc. So TVirtualStringTree returns the width of the node caption (plus text margin).

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