LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how I can programmatically changing symbols item of tree control

Hi Experter

 

I want change symbols item like a show green box when the judgment is pass and show red box when the judgement is failed. 

 

Please find the picture for what I want to do as attached.

 

Is there any way to do that ?

 

BR

Bee

0 Kudos
Message 1 of 6
(379 Views)

Hi Bee,

 

Something like this?

 

raphschru_0-1738060783241.png

raphschru_1-1738060804299.png

 

Notes:

 - The images must be 16*16 pixels for the best rendering, otherwise LabVIEW resizes them.

 - I also tried to load PNGs instead of JPGs, but then transparency is reduced to either 100% opaque or 100% transparent.

 - I used GIMP to generate the images.

 

Regards,

Raphaël.

Message 2 of 6
(355 Views)

Hi Raphaël

 

Thank you for your suggestion, that is what I want to do.

But I cannot open your example on LV 2019

Can you convert to LV 2019 ? 

 

BR

Bee

0 Kudos
Message 3 of 6
(323 Views)

Hi Bee,

 


@weerapong wrote:

Can you convert to LV 2019 ? 


Sorry I forgot that.

The best is to always provide your LV version in the original post for others to know in which version to save.

 

Regards,

Raphaël.

0 Kudos
Message 4 of 6
(250 Views)

Hi Raphaël

 

Thank you very much for your help.

 

Best regards,

Bee

0 Kudos
Message 5 of 6
(195 Views)

Hi Bee,

 

I am glad that helped, don't forget to "Accept as Solution" the comment that solved your issue:

raphschru_0-1739452874251.png

 

Also, Kudos are the primary way of saying "thanks" on the forum, the secondary of course being saying "thanks" literally.

raphschru_1-1739452874276.png

 

Regards,

Raphaël.

0 Kudos
Message 6 of 6
(175 Views)