how can i disable the arrow below in spinner control

3 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 Images 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by