Borrar filtros
Borrar filtros

in GUI how can I make a text box to be multiline?

2 visualizaciones (últimos 30 días)
Anwar Al Saleh
Anwar Al Saleh el 21 de Dic. de 2021
Comentada: Anwar Al Saleh el 21 de Dic. de 2021

Respuesta aceptada

Rik
Rik el 21 de Dic. de 2021
You should not be using GUIDE. See this thread.
You can set the max property to control the maximum number of lines.

Más respuestas (1)

Chunru
Chunru el 21 de Dic. de 2021
Use "uitextarea". The Value properties is cell array of strings so you can obtain the multiline text from ui.
  3 comentarios
Rik
Rik el 21 de Dic. de 2021
Just a note: this is what you should use if you're using a uifigure instead of a figure. AppDesigner is based on uifigure and GUIDE is based on figure (although you can write your own GUI without GUIDE or AppDesigner and use either).
Anwar Al Saleh
Anwar Al Saleh el 21 de Dic. de 2021
thank you..

Iniciar sesión para comentar.

Categorías

Más información sobre Migrate GUIDE Apps en Help Center y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by