-
Dhanya K
- PowerBuilder
- Friday, 28 November 2025 07:27 AM UTC
Hello Team,
I am using PowerBuilder 2022(Version 1878). As part of the theme update in our application, we would like to change the default highlight color used when calling the SelectTreeNode statement to better align with the new theme. Treenode is placed in the header band of the datawindow. Could you kindly provide guidance along with a sample code snippet?
The screen contains folders as treenodes and some data under each folder. we could change the highlight color of the rows in the detail band using the below statement and values of some columns in the datawindow such as sel=1 etc. But for hearder, this is not working.Please help.
ls_expression = dw_1.Modify("DataWindow.Detail.color='" + ls_default + "~t" + ls_color_cond + "'")
Regards
Dhanya
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.