There are times when it is useful to have multiple icons representing leaf nodes in the same tree. I was thinking it would be really nice if you could set the fileIcon property at the tree level but have the ability to override it at the node level.
Thoughts?
Thanks,
Ritch
Possible fileIcon enhancement?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: Possible fileIcon enhancement?
Hi Ritch!
I think your idea is good!
How it is done today:
The fileIcon Tree property is inherited by the secondIconCollapsed and secondIconExpanded Node properties. This means that you can override the fileIcon Tree property by setting the secondIconCollapsed and secondIconExpanded Node property.
Just to be sure that i'm understanding your idea correctly:
* There will be a new Node property called fileIcon.
* Setting the fileIcon of a Node will override the fileIcon of the Tree.
* If the fileIcon Node property is set to empty it will inhereit the fileIcon property of the Tree.
Can you please confirm if this is the feature that you would like rTree to have? I'm prepared to put it on the list of new features for v.1.5
Kind regards
Mats
I think your idea is good!
How it is done today:
The fileIcon Tree property is inherited by the secondIconCollapsed and secondIconExpanded Node properties. This means that you can override the fileIcon Tree property by setting the secondIconCollapsed and secondIconExpanded Node property.
Just to be sure that i'm understanding your idea correctly:
* There will be a new Node property called fileIcon.
* Setting the fileIcon of a Node will override the fileIcon of the Tree.
* If the fileIcon Node property is set to empty it will inhereit the fileIcon property of the Tree.
Can you please confirm if this is the feature that you would like rTree to have? I'm prepared to put it on the list of new features for v.1.5
Kind regards
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
Re: Possible fileIcon enhancement?
Thanks for the reply. Yes, you captured the request exactly how I envisioned it.
Best,
Ritch
Best,
Ritch