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

TCustomTreeView.StateImagesWidth

Width for the bitmaps in the StateImages property.

Declaration

Source position: comctrls.pp line 3764

public property TCustomTreeView.StateImagesWidth : Integer
  read FStateImagesWidth
  write SetStateImagesWidth
  default 0;

Description

StateImagesWidth is an Integer property which contains the width for the StateImages assigned in the control. StateImagesWidth provides the value that is scaled to the Pixels Per Inch setting in the Font property when StateImages 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.

StateImagesWidth is used in the DoPaintNode method to retrieve the scaled image resolution for the bitmaps in StateImages.

Use ImagesWidth to set the width for the bitmaps in the Images property.


Version 3.2 Generated 2024-02-25 Home