Jump to content

Dynamic Control icons of uniTreenodes in uniTreeView


dagromo

Recommended Posts

Hello

I need to control the icon shown in treeNodes dynamically on a uniTreeView, in the states of Normal, Expaded and when is Leaf (just as the default behavior has when no imagelist is provided).

In the regular VCL TreeNode exists the properties ImageIndex, SelectedIndex, StateIndex, ExpandedImageIndex  but in uniTreeNode only exists ImageIndex and SelectedIndex (by the way SelectedIndex  seems to do nothing)

In VCL also exists a pair of events for assign the index by code (OnGetImageIndex and  OnGetSelectedIndex) to handle the task but not present on uniTreeView.

If there is a workaround (maybe with JS) any help will be highly appreciated.

Regards.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...