how can i disable the arrow below in spinner control
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Luca Re
el 21 de Jul. de 2023
Respondida: Julien
el 21 de Jul. de 2023
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1439368/image.png)
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
0 comentarios
Respuesta aceptada
Julien
el 21 de Jul. de 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];
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre LMI Solvers en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!