Invert Listbox Arrows
Mostra commenti meno recenti
Hi,
I have the following string on a list box
1 2 3 4
When I click the arrow down it will go down the list in ascending order and the up arrow will go in descending order. What I want is that the down arrow would decrement the handle's value and the up arrow increment the handle's value. Is there a way to do this?
Thanks,
1 Commento
Jonathan
il 1 Dic 2011
Risposte (1)
Walter Roberson
il 1 Dic 2011
0 voti
You could try using the KeyPressFcn callback: see http://www.mathworks.com/help/techdoc/ref/uicontrol_props.html#bqxoim8
Categorie
Scopri di più su App Building in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!