GraffitiTreeViewNode

Enumerations #

Name Values
This class exposes no enumerations.

Constants #

Name Type Value
This class exposes no constants.

Events #

Definition Description
This class exposes no events.

Methods #

Definition Description
AddColumn( columnString as String ) Adds a new column to the node’s row.
Column( index as Integer ) as String Returns the string value of the specified column.
ColumnCount() as Integer Returns the number of columns in the row.
Constructor( theText as String, Checkable as Boolean = False, theIcon as Picture = Nil, theTag as Variant = Nil, theValue as Boolean = false, isExpanded as Boolean = false, Removeable as Boolean = false, Notifications as Integer = 0, Editable as Boolean = False, Reorder as Boolean = False, Expandable as Boolean = False ) Construct an instance of this class with the supplied parameters as property values.
InsertColumn( index as Integer, columnString as String ) Inserts a new column string at the specified index.
RemoveAllColumns() Removes all column strings from the node.
RemoveColumn( columnIndex as Integer ) Removes the specified column from the node’s row.

Properties #

Name Type Default Value Description
Bounds REALbasic.Rect Nil Auto-filled bounds of the node. This is for internal-use only.
CanCheck Boolean False If the node displays a checkbox.
CanEdit Boolean False If the node can be edited by the user.
CanExpand Boolean If the node has no children, this may be set to true to allow for dynamically adding/removing nodes at runtime.
CanRemove Boolean False If the node can be removed by the user.
CanReorder Boolean False If the user can drag the node to change its position.
Checked Boolean False If the node’s checkbox is currently checked.
Columns() String Nil Cell text for columns beyond the first column, which is dictated by Text property.
Enabled Boolean False If the node currently shows as enabled.
Expanded Boolean False If the node is currently expanded to show children.
HelpTag String “” Tooltip
Icon Picture Nil Icon to display in this node’s row. 16×16 or 32×32.
Nodes() GraffitiTreeViewNode Nil Child nodes of this node.
NotificationCount Integer -1 Number to display in the notification bubble.
Parent GraffitiTreeViewNode Nil The parent node of this node.
Selected Boolean False If the node is currently selected by the user.
Tag Variant Nil A value which the developer may use to store any data.
Text String “” The text of this first column of the node.

Examples #

There are currently no examples for this class.