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

TCustomTreeView.IsInsertMarkVisible

Indicates whether an insertion mark is visible on the tree view control.

Declaration

Source position: comctrls.pp line 3570

protected function TCustomTreeView.IsInsertMarkVisible: Boolean; virtual;

Function result

Returns True if an insertion mark is visible on the tree view control.

Description

What is an "insertion mark"?

An insertion mark is the visual indicator that identifies where a node added or moved on the control will be placed. It is like a horizontal editing caret. It is used during a node drag operation to show where the tree node will be placed in the node hierarchy.

IsInsertMarkVisible checks internal members in the tree view to determine whether a node and an insert mark type (TTreeViewInsertMarkType) have been assigned for the control. The return value is True when both members have been assigned and the mark node is visible on the control. When an insertion mark becomes visible for a node, the tree view control is redrawn.


Version 3.2 Generated 2024-02-25 Home