1. Thilo Mack
  2. PowerBuilder
  3. Wednesday, 5 July 2023 12:27 PM UTC

Good afternoon community

We were wondering if it is possible to customize the icons used in treeview datawindows.

 

What we know is that it is possible to customize the icons of the TreeView object.

 

We would like to swap the existing expand/expanded icons for more modern icons in treeview datawindows aswell using the theme.json.

 

Setting the treeview node icons only adds another icon.

 

Best Regards

Thilo

 

 

 

 

 

 

 

John Fauss Accepted Answer Pending Moderation
  1. Wednesday, 5 July 2023 13:18 PM UTC
  2. PowerBuilder
  3. # 1

Hi, Thilo -

I don't believe you can control this using themes.

However, you can change the collapsed and expanded icons for each tree level:

DataWindow.Tree.Level.#.CollapsedTreeNodeIconName="value"
DataWindow.Tree.Level.#.ExpandedTreeNodeIconName="value"

https://docs.appeon.com/pb2022r2/datawindow_reference/XREF_67477_Tree_Level_property.html

Best regards, John

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.