changing text in a label

Discussion about Code Builder Builder and Winlog language support.
Posts: 18
Joined: Thu Oct 06, 2011 9:40 am

changing text in a label

Postby mathias » Thu Oct 27, 2011 12:46 pm

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.
label.JPG (65.93 KiB) Viewed 3925 times
code.JPG (33.87 KiB) Viewed 3925 times

User avatar
Site Admin
Posts: 335
Joined: Tue Nov 17, 2009 1:18 pm

Re: changing text in a label

Postby admin » Fri Oct 28, 2011 8:09 am

use Status Bar Object, donwload and test this demo:

Best Regards

Return to “Code - Code Builder”

Who is online

Users browsing this forum: No registered users and 1 guest