TreeView Xojo plugin

TreeViewNode.ItemAlignment Method

Sets or gets the alignment for a specific column.

ItemAlignment(
   columnIndex as Integer) as TreeViewNode.AlignmentValues

ItemAlignment(
   columnIndex as Integer
   assigns value as TreeViewNode.AlignmentValues)

Parameters

columnIndex
The number of the column to set or get alignment from. (The first column is number zero)
value (assignment parameter)
The value to be set. This can be any value from the TreeViewNode.AlignmentValues enum.

Returns

TreeViewNode.AlignmentValues

Remarks

Note that alignments and indents are only supported on subitems. Attempting to apply indent or alignment on the first column will do nothing.

If setting right alignment on last column then you might want to set some right indent as well since part of the column is under the scrollbar.

See Also

TreeViewNode Class