Concept Framework 1.0 documentation Contents | Index

RTreeView.RowIndex

Name Type Access Version Deprecated
RowIndex property public version 1.0 no

Prototype:
Read/Write property RowIndex[=path]


Description:
Returns the index or the path of the current selected item. If the Model property is set to MODEL_LISTVIEW then this property is a number representing the index of the current selected item, else if the Model property is set to MODEL_TREEVIEW is a string representing the path to the current item, in indexes separated by ":". For example, the fifth child, of the second child of the third item will have the path "2:1:4". Remember that the index starts with 0 for the first item. You can call (when reading the property) the arr=StrNumberSplit(path,":") function for obtaining the indexes in an array (in this case [2,1,4]).

Returns:
Returns the row path as a string for tree views or the row index as a number for list views.

Documented by Eduard Suica, generation time: Thu Oct 15 20:01:58 2009 GMT(c)2009 RadGs Software