how can i disable the arrow below in spinner control

3 ビュー (過去 30 日間)
Luca Re
Luca Re 2023 年 7 月 21 日
回答済み: Julien 2023 年 7 月 21 日
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

採用された回答

Julien
Julien 2023 年 7 月 21 日
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];

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeImages についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by