how can i disable the arrow below in spinner control

3 Ansichten (letzte 30 Tage)
Luca Re
Luca Re am 21 Jul. 2023
Beantwortet: Julien am 21 Jul. 2023
hello..how do you disable the arrow below?
function CalcloopsSpinnerValueChanged(app, event)
value = app.CalcloopsSpinner.Value;
if value<=1
"app.CalcloopsSpinner(arrow down).disable ==> similar "
end
end

Akzeptierte Antwort

Julien
Julien am 21 Jul. 2023
Hi,
Did you try modifying the "Limits" property to set 1 as minimum value, in the Component Browser panel
That way, the arrow gets disabled when the limit is reached.
If needed this limit can also be set with :
app.CalcloopsSpinner.Limits = [0,inf];

Weitere Antworten (0)

Kategorien

Mehr zu Images finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by