[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'ComCtrls' (#lcl)

TCustomTreeView.ImagesWidth

Width for the Images used in the tree view control.

Declaration

Source position: comctrls.pp line 3747

public property TCustomTreeView.ImagesWidth : Integer
  read FImagesWidth
  write SetImagesWidth
  default 0;

Description

ImagesWidth is an Integer property which contains the width for the Images assigned in the control. ImagesWidth provides the value that is scaled to the Pixels Per Inch setting in the Font property when Images have been assigned for the control.

The default value for the property is 0 (zero), and indicates that an explicit image width has not been assigned.

Setting a new value for the property causes the control to the redrawn.

ImagesWidth is used in the DoPaintNode method to retrieve the scaled image resolution for the bitmaps in Images.

Use StateImagesWidth to set the width for the bitmaps in the StateImages property.


Version 3.2 Generated 2024-02-25 Home