Sign in Join
FPDoc Onlineexperiment

TTreeNode.DisplayIconLeft function

Member of TTreeNodepublicIn unit ComCtrls

Returns the horizontal position for the left edge of the icon displayed for the tree node.

Declaration

pascal
function DisplayIconLeft: Integer

Function result

Horizontal coordinate where the left edge of the icon for the node is displayed.

Description

The return value accounts for the state icon displayed when StateImages have been assigned in the TreeView control and StateImageIndex is a valid position in the image list. The return value is adjusted for the scaled width for the state image and the default item spacing used on the TreeView control.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.