Tree View

Typewidget
Dictionarywidget.treeview
LibraryTree View
Associationscom.livecode.widget.treeview
Summary

A widget to display array data in a tree view

Description

A widget to display array data in a tree view

TypeNameSummarySyntax
messageactionDoubleClick

Sent when a leaf node of the tree view is double-clicked.

actionDoubleClick <pPath>

- - -actionInspect

Sent when an the inspect icon is clicked in read only mode

actionInspect <pPath>

- - -dataChanged

Sent when the arrayData of the widget changes

dataChanged

- - -formattedHeightChanged

Sent when the formatted height of the displayed data changes.

formattedHeightChanged

- - -hiliteChanged

Sent when an element is hilited

hiliteChanged

propertyalternateRowBackgrounds

Whether the alternate rows of the widget have different backgrounds or not.

get the alternateRowBackgrounds of <widget>

set the alternateRowBackgrounds of <widget> to {true|false}

- - -arrayData

The array being displayed by the widget

get the arrayData of <widget>

set the arrayData of <widget> to <pArray>

- - -arrayStyle

Whether the tree view should display its contents in array style or as a standard tree view.

get the arrayStyle of <widget>

set the arrayStyle of <widget> to {true|false}

- - -autoFoldStateReset

Automatically reset fold state when array data is set.

get the autoFoldStateReset of <widget>

set the autoFoldStateReset of <widget> to {true|false}

- - -charsToTrimFromKey

The number of leading characters to trim from the key for display.

get the charsToTrimFromKey of <widget>

set the charsToTrimFromKey of <widget> to <pChars>

- - -foldState

The fold state of the array being displayed by the widget

get the foldState of <widget>

set the foldState of <widget> to <pFoldState>

- - -formattedHeight

Height of the data displayed by the widget

get the formattedHeight of <widget>

- - -hilitedElement

Select the row corresponding to pPath

get the hilitedElement of <widget>

set the hilitedElement of <widget> to <pPath>

- - -hilitedElementFoldState

Get/set the fold state of the selected element

get the hilitedElementFoldState of <widget>

set the hilitedElementFoldState of <widget> to <pFoldState>

- - -hilitedElementIsFolded

Determine if the selected element is folded

get the hilitedElementIsFolded of <widget>

set the hilitedElementIsFolded of <widget> to {true|false}

- - -hiliteNewElement

Automatically select new elements when created interactively.

get the hiliteNewElement of <widget>

set the hiliteNewElement of <widget> to {true|false}

- - -iconHeight

Custom icon height for the widget

get the iconHeight of <widget>

set the iconHeight of <widget> to <pIconHeight>

- - -pathDelimiter

Manipulates the separator between the elements of the array viewer

get the pathDelimiter of <widget>

set the pathDelimiter of <widget> to <pType>

- - -readOnly

Whether the options to modify elements of the underlying array are present or not.

get the readOnly of <widget>

set the readOnly of <widget> to {true|false}

- - -scroll

Vertical scroll position of the widget

get the vScroll of <widget>

get the scroll of <widget>

set the scroll of <widget> to <pScroll>

- - -scrollHilitedElementIntoView

Automatically scroll selected row into view.

get the scrollHilitedElementIntoView of <widget>

set the scrollHilitedElementIntoView of <widget> to {true|false}

- - -separatorRatio

Manipulates the size of the arrayData view columns.

get the separatorRatio of <widget>

set the separatorRatio of <widget> to {true|false}

- - -showBorder

Whether the widget has a border or not.

get the showBorder of <widget>

set the showBorder of <widget> to {true|false}

- - -showHover

Whether the widget has a hover row displayed or not.

get the showHover of <widget>

set the showHover of <widget> to {true|false}

- - -showSeparator

Whether the separator bar between keys and values is showing or not

get the showSeparator of <widget>

set the showSeparator of <widget> to {true|false}

- - -showValues

Whether the values are displayed or not

get the showValues of <widget>

set the showValues of <widget> to {true|false}

- - -sortOrder

Manipulates the order in which elements of the tree view are displayed, with respect to the current sortType.

get the sortOrder of <widget>

set the sortOrder of <widget> to <pOrder>

- - -sortType

Manipulates the type of ordering in which elements of the tree view are displayed.

get the sortType of <widget>

set the sortType of <widget> to <pType>

- - -textHeight

Custom text height for the widget

get the textHeight of <widget>

set the textHeight of <widget> to <pTextHeight>

- - -vScrollbar

Controls the visibility of the browser's vertical scrollbar.

set the vScrollbar of <widget> to <pEnabled>

get the vScrollbar of <widget>

widgetTree View

A widget to display array data in a tree view

set the vScrollbar of <widget> to <pEnabled>

get the vScrollbar of <widget>