I want to change the text in a label, depending of the value of gate” Vunit”.
If Vunit = 0 >> text in label:m³/h
If Vunit = 1 >> text in label: l/h
…
I tried with some code but it doesn’t work.
changing text in a label
changing text in a label
- Attachments
-
- label.JPG (65.93 KiB) Viewed 6732 times
-
- code.JPG (33.87 KiB) Viewed 6732 times