From: Muhammad on
Hi..

How to make the static text to be writable?
I attempt to use edit but it can be enter and space to input the string or number.
How to recognize the input which is string or not?

Thanks

From: Steven Lord on

"Muhammad " <fahrudin_fistek(a)yahoo.com> wrote in message
news:hp90om$kg3$1(a)fred.mathworks.com...
> Hi..
>
> How to make the static text to be writable?

Make it an edit text box. The static text uicontrol is intended just for
display; the edit text uicontrol allows both display and editing.

> I attempt to use edit but it can be enter and space to input the string or
> number.
> How to recognize the input which is string or not?

Use ISSTRPROP to validate the contents of the String property in the
Callback function.

--
Steve Lord
slord(a)mathworks.com
comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ