Sign in Join
FPDoc Onlineexperiment

TNodeState enumeration

In unit ComCtrls

Enumerated type denoting the state for a TreeNode.

Declaration

pascal
TNodeState = (nsCut,nsDropHilited,nsFocused,nsSelected,nsMultiSelected,
 nsExpanded,nsHasChildren,nsDeleting,nsVisible,nsEnabled,
 nsBound,nsValidHasChildren)

Description

TNodeState is an enumerated type with values representing the state a tree node. The values reflect the settings in property values in a TTreeNode instance, or the use a node in a tree structure. Value(s) from the enumeration are stored in the TNodeStates type.

See also

Values

nsCutCut has been set in the TTreeNode.
nsDropHilitedDropTarget has been set in the TTreeNode.
nsFocusedFocused has been set in the TTreeNode.
nsSelectedSelected has been set in the TTreeNode.
nsMultiSelectedMultiSelected has been set in the TTreeNode.
nsExpandedExpanded has been set in the TTreeNode.
nsHasChildrenHasChildren has been set in the TTreeNode.
nsDeletingDeleting has been set in the TTreeNode.
nsVisibleVisible has been set in the TTreeNode.
nsEnabledEnabled has been set to True for the TTreeNode.
nsBoundThe tree node is bound to a tree (has a Parent) or is a top-level node.
nsValidHasChildrenThe tree node has child nodes and a value assigned to its HasChildren property.

An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.