string of the button edit

5 Ansichten (letzte 30 Tage)
zhiping
zhiping am 8 Jun. 2011
hi, I have a question about button edit. Generelly in the string of edit, we can only input a line of data. Can we input the data in different line?

Akzeptierte Antwort

Paulo Silva
Paulo Silva am 8 Jun. 2011
'edit' – Editable text fields enable you to enter or modify text values. Use editable text when you want free text as input. To enable multiple lines of text, set Max-Min>1. Multiline edit boxes provide a vertical scroll bar for scrolling. The arrow keys also provide a way to scroll. Obtain the current text by getting the String property. The String property does not update as you type in an edit box. You must click away from the edit box to update its String property and activate its callback.

Weitere Antworten (0)

Kategorien

Mehr zu Characters and Strings 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