FlashGUI Functions

  Objects Object functions Other functions  

Objects / treebox

treebox

treebox(objnum,coord,imglist,option)

creates a tree object

Parameters

objnumobject number
coordcolumn, row, width, height
comma or @am delimited
If grid is used then column and row
are not specified and width is optional.
imglistimage list
optionoptions comma or @am delimited

Options

bkg colorbackground color (see bkg)
disabledisabled
font [name size style color]font specification (see font)
offdisabled
hideinvisible
sizing CODE [base.objnum]sizing specification (see sizing)

Events

OnSetFocusThe object has got focus

Data:
dt<1> - unfocused object window number
dt<2> - unfocused object number
OnEnter'Enter' key has been pressed

Data:
dt<1> - node id
dt<2> - parent node id
OnSelChangeOther node has been selected

Data:
dt<1> - selected node id
dt<2> - previous node id
dt<3> - _BYKEYBOARD or _BYMOUSE
OnDblClickLeft button has been double clicked

No data
OnDropDragged lines have been dropped

Data:
dt<1> - drag-from object number (table or treebox)
dt<2> - drop-to position
dt<3,linepos,text> - dragged lines data

Functions

delnodedeletes a node from a treebox
delobjdeletes object
doexecutes an additional action
getdtreturns additional data
insnodeinserts a node into a tree
modifymodifies object's properties
selnodeselects a tree node
setfocussets focus to an object
setnodetextsets a new text to a tree node

Using FlashGUI

treeboxTree box
 

Page 4-26 | Updated Oct 29, 2008 at 11:24:09 | © Infoved 2010