Hi everyone. What code to use under a push button if I want to enable or disable an "edit text" when that push button is clicked? Thank you very much.
Direct link to this comment:
I hope someone answers my question...Thank you in advance
No products are associated with this question.
Direct link to this answer:
set(handles.TheTextBox, 'enable', 'off')
Note: there is also 'disable' instead of 'off'. When it is 'disable', the text is still there and still readable and scrollable, but cannot be changed.
It's actually 'inactive', not 'disable', instead of 'off'. Maybe they changed it. But I see no significant difference between the two other than 'off' greys out the background while 'inactive' leaves it white. But neither one of them allow for selecting/highlighting.
MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi test
Opportunities for recent engineering grads.
New to MATLAB?