What is the correct way to build a tree from an array and have a particular node show up as being highlighted?
If the tree was already build, what would be the proper way to set the highlight of a node?
Thanks
Mike
Setting the highlight of a node in 2.x
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: Setting the highlight of a node in 2.x
Hi Mike!
You set and get the hilitedNodeIDs like this:
You can set the hilitedNodeIDs as either a comma or cr separated list.
The hilitedNodeIDs are returned as a cr separated list.
Best
Mats
You set and get the hilitedNodeIDs like this:
Code: Select all
set the hilitedNodeIDs of grp "rTree" to "Node 1,Node3"
get the hilitedNodeIDs of grp "rTree"
The hilitedNodeIDs are returned as a cr separated list.
Best
Mats
http:www.tapirsoft.on-rev.com
Open Source LiveCode Plugins - rIDE, rGrid, rTree
LiveCode projects
Open Source LiveCode Plugins - rIDE, rGrid, rTree
LiveCode projects