Using a variable's value in button's text #3457
Unanswered
sackboydad
asked this question in
Q&A
Replies: 1 comment 7 replies
-
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
How can I take a variable's value (what's stored in the variable) and use that to st a button's text?
I need to be able to store a string to a variable (say "CAMERA 1") then I need to set a specific button's text to the string stored in the variable, rather than just the variable's name. Now, when I attempt to do that -$(custom:New_Text) - what happens when I set the button's text to $ (custom:New_Text) it will show the correct value (the above "CAMERA 1", but if $custom:New_Text) changes, then because the button's text is set to a variable it will be wrong. I need to permanently set the button's text, as a string, to what's stored in $ (custom:New_Text). So in the button's text entry it would be changed to CAMERA 1 rather than $(custom:New_Text).
How can I pass the variable's value rather than its reference? Thanks for any help. This is killing me :-)
Beta Was this translation helpful? Give feedback.
All reactions