Often when using Dynamic controls in a Nb, I run into the following :
Often a line of code with a Dynamic variable in it, only works if the result (which is an intermediate result, which I do not want to see)is being outputted to the Notebook. As soon as I suppress the output with a ; (semicolon) , the script stops working.
I do not have a clue, although a read I think all of the documentaion on Dynamic.
I have attached a Notebook with an example of what I mean.
I have set the code in RED where the problem is happening.
The version of those two lines that work, are just below and only need to be uncommented.
I hope my example is clear :-)
Thanks, Beat
Attachments: