Customer would like to highlight in an BOM tree view those components they have sufficient stock for as Green and insufficient stock for in Red. I can set a check box, but I can't seem to get any colors to work.
It Tree View does support colors, can someone show me a sample line on setting the color on the list box write, or does it have to be done as an attribute?
With PxPlus 2020, due to be released May 2020, we have added a 'ItemTextColor$ attribute which will provide you the ability to change the colour of individual items in a tree view.
In the interim what I might suggest is using different ICONS in the tree view to represent status. Please see the write up on setting the Tree view state at
https://manual.pvxplus.com/page/PxPlus%20User%20Guide/Graphical%20User%20Interfaces/Control%20Objects/List%20Box.htm
You could alternatively use a Bitmap as opposed to a state indicator. Perhaps use something like the !Exclamation image.
So I can only use bitmaps. So far I'm using the !Tree... bitmaps. Am I able to put more than one bitmap a record?
You can include both a State image and a Bitmap on tree view items.