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

TTreeNode.Visible

True if the tree node is visible in the associated TreeView control.

Declaration

Source position: comctrls.pp line 3159

public property TTreeNode.Visible : Boolean
  read GetVisible
  write SetVisible
  default True;

Description

Visible is a Boolean property which indicates if the tree node is visible in the associated TreeView control. Its value is True when nsVisible has been included in the States property for the tree node. The default value for the property is True.

Setting a new value for the property causes the States property to be updated. Selected is set to False when the value in Visible is changed.

Values are included in the States property for the associated TreeView control (when assigned) to indicate that the size and layout for the tree nodes in the control have been changed. The Update method is called to refresh the control. The Changed method is called with the ncVisibility node change reason.


Version 3.2 Generated 2024-02-25 Home