Display variable immediately

mlapl1
mlapl1 Community Member Posts: 349 ☆ Roadie ☆
Hello

I have a variable which is modified with the click of a button. I want the value of the variable to appear inside a text box as soon as the button is clicked. I must be missing something because I cannot seem to do that. As far as I can tell, the only way to show the changed content is by setting up an action which says "On Show Change the Contents of the box". I suppose I could use the click button to hide the box then show it (have not tested this yet) - but it seems a bit cumbersome.

Any thoughts? Thanks

Andrew

Comments

  • ssneg
    ssneg Community Member Posts: 1,466 ☆ Roadie ☆
    You need two actions that both react to the button press. Action 1 modifies variable. Action 2 changes the contents of a box to the variable value.
  • mlapl1
    mlapl1 Community Member Posts: 349 ☆ Roadie ☆
    Sounds good - thanks - I had been using the hide show sequence to do this - your solution is better.