Syncing both sliders and edit boxes

11 Ansichten (letzte 30 Tage)
Luffy
Luffy am 2 Jul. 2012
I have a gui with sliders & edit boxes in it.If i change slider position value is displyed on edit box,but how do we change slider position if value is changed in edit box.

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 2 Jul. 2012
set( handles.Slider1, 'Value', str2double(get(handles.Editbox1, 'String')) )

Weitere Antworten (0)

Kategorien

Mehr zu Encryption / Cryptography 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