Sign in Join
FPDoc Onlineexperiment

TTreeNode.Visible property

Member of TTreeNodepublicIn unit ComCtrls

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

Declaration

pascal
property 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.

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