Possible fileIcon enhancement?

This is a forum focused on providing support for rTree

Moderators: heatherlaine, robinmiller, kevinmiller, wilstrand

Post Reply
r_houdek
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 12
Joined: Wed Feb 23, 2011 1:35 am

Possible fileIcon enhancement?

Post by r_houdek » Sat Feb 26, 2011 2:18 am

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

wilstrand
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 114
Joined: Mon Jan 03, 2011 3:02 pm
Contact:

Re: Possible fileIcon enhancement?

Post by wilstrand » Sat Feb 26, 2011 7:02 pm

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
http:www.tapirsoft.on-rev.com
Open Source LiveCode Plugins - rIDE, rGrid, rTree
LiveCode projects

r_houdek
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 12
Joined: Wed Feb 23, 2011 1:35 am

Re: Possible fileIcon enhancement?

Post by r_houdek » Sun Feb 27, 2011 6:13 pm

Thanks for the reply. Yes, you captured the request exactly how I envisioned it.

Best,

Ritch

Post Reply

Return to “rTree”