label.text()
-
Hi !
I think we always use label to show value or information all the time,
Is it a good idea if we can uselabel.text("Hello World");
maybe it more handy then
label.set("text",Hello World");
What do you think?
-
.set
is a general command that is used to set the properties of all components, since text is a property of a label it makes sense to useset
. Although an additional shortcut command wouldn't be a bad thing.You can also use
setValue
e.g.Label1.setValue("Hello World");
-
@d-healey Oh , I didn't know we can use that Label1.setValue("Hello World");
Thank you