$root.$iwindows.WINDOW.$objs.Tree

Parent: $root.$iwindows.WINDOW.$objs
 
Children 

Class notation

Properties Methods Events 

Properties

Object specific 
$datamodeThe mode for the list data specified via the data name; one of the kTreeData... constants
kTreeDataFlatList kTreeDataFlatListWithTags kTreeDataXMLIds kTreeDataXMLPaths kTreeDataXMLSaveTree
$defaultnodeiconThe icon identifier used to reference the tree default node icon. See also $defaultnodeiconcolor
$expandcollapseiconThe icon identifier used to reference the tree expand collapse icon
$fieldstylefocusedThe style in system class #STYLES assigned to this field in addition to $fieldstyle when the control has focus
$gridsectionThe type of the complex grid section containing the object. One of the kGrid... constants
$nodeiconsposA kIcon... constant that specifies the position of the node icons
kIconOnLeft kIconOnNode kIconSystemSet
$showhorzlinesIf true, the tree shows horizontal connecting lines
$shownodeiconsIf true, the tree shows node icons
$showvertlinesIf true, the tree shows vertical connecting lines
$tooltipposA kTooltipPos... constant that specifies where $tooltip appears relative to the control
kTooltipPosBottom kTooltipPosLeft kTooltipPosMouse kTooltipPosRight kTooltipPosTop
$treeindentlevelThe distance between tree indent levels
$treeleftmarginThe distance from the left that the tree will leave before drawing
$treelinehtextraThe extra vertical space to be added to each tree line
$treenodeiconmodeThe node icons will change according to this state
kNodeIconFixed kNodeIconLinkExpand kNodeIconLinkLine
Standard$active $alpha $backcolor $componentctrl $componentinfo $componentlib $componentvalid $container $contextmenu $cursor $dataname $disablefocus $disablesystemfocus $dragborder $edgefloat $effect $enabled $fieldstyle $font $fontsize $fontstyle $framehwnd $gridcolumn $hasfocus $height $helpfile $horzscroll $hwnd $ident $keyevents $left $mouseevents $name $objtype $order $osdropflags $rmouseevents $selected $sidepanel $sidepanelmode $statusevents $textcolor $tooltip $top $userinfo $vertscroll $visible $width

Methods

Object specific 
$countchildren$countchildren(cNodeident,bTagid) searches for a node with ident or tag equal to cNodeident,and returns the count of its immediate children; pass bTagid as kTrue to search by tag,or kFalse to search by ident
$findnodebyident$findnodebyident(iNodeIdent,bRecursive) searches for a node with ident equal to iNodeIdent, and sets it as the current node. If bRecursive is kTrue the search recurses through child nodes
$findnodebytag$findnodebytag(cTagid,bRecursive) searches for a node with tag equal to cTagid, and sets it as the current node. If bRecursive is kTrue the search recurses through child nodes
$sendevent$sendevent(iEvent[,eventParameters...]) Sends event iEvent (an ev... constant value) to the object with eventParameters passed as name,value pairs, for example $sendevent(evClick,'pLineNumber',2).Returns kFalse if the event is discarded
$showpanel$showpanel(iAction[,iMode=kSidePanelModeAuto]) executes kSidePanelAction... on a side panel object. iMode only applies to kSidePanelActionShow,and must be kSidePanelModeCover/Push/Auto. For JS client,$showpanel must be executed on the client
Standard$redraw

Events

Object specific 
evWillHideSent to a field before it is hidden. Currently only used when the field is set as a side panel
Parameters
pEventCodeThe event code
pSidePanelIf true,this object is being hidden or shown as a side panel
evWillShowSent to a field before it becomes visible. Currently only used when the field is set as a side panel
Parameters
pEventCodeThe event code
pSidePanelIf true,this object is being hidden or shown as a side panel
StandardevAfter evBefore evCanDrop evDisabled evDrag evDragBorder evDragFinished evDrop evEnabled evHidden evKey evMouseDouble evMouseDown evMouseEnter evMouseLeave evMouseUp evOpenContextMenu evRMouseDouble evRMouseDown evRMouseUp evSent evShiftTab evShown evTab evWillDrop

Children

Top 

$methods