Change label text with variable


Ava Rashidi

Hello David,

I want change the control(Label4) text with variable, F.e:

SetVar "[a]" "4" "String"

SetVar "lbl" "Label[a]" "String"

SetVar "[lbl.Text]" "yes" "String"

But it doesn't change,

How can do it?


DecSoft

Hello Ava,

For that case we must use a bit of Javascript code, similar that the below one:



Ava Rashidi
Thank you so much.

DecSoft

You'r welcome, Ava!


Everybody can read the DecSoft support forum for learning purposes, however only DecSoft customers can post new threads. Purchase one or more licenses of some DecSoft products in order to give this and other benefits.

This website uses some useful cookies to store your preferences.

I agree. Hide this note. Give me more information.