MATLAB Answers

how to skip spinner values based on variable/button ?

2 views (last 30 days)
LO
LO on 5 Jul 2020
I have a spinner associated to a button
I would like this button to be inactive for spinner values "during" which I pressed another button (basically if the first button is "process" and instruct the app to process the element corresponding to the spinner value, I would like to have another button, let's say "done", which will prevent me to process again the same value).
I can't figure out a way to do it because it seems that the spinner values that one can get are only the past ones not the actual ones.
so while I could compensate while increasing the values (by adding a +1 to the value to implement a condition for button inactivation)... I could not compensate when changing the sign of the spinner value change function

  0 Comments

Sign in to comment.

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!