Is it possible to create a scrolling, programmatic GUI containing static text and editable text boxes?
Mostrar comentarios más antiguos
I asked this question earlier, but failed to include all the details.
I’m looking to create a GUI containing a combination of 80 static/editable text boxes. It would look something like this;
Static text Editable Text (1)
Static text Editable Text
Static text Editable Text
Static text Editable Text
Static text Editable Text
Static text Editable Text . . . . . . . . . . . . .
Static text Editable Text (80)
Creating the text boxes is not a problem. But getting the GUI to scroll through all 80 of these combinations is. I’m looking to place a vertical scroll bar on the right side of the GUI and allow the user to scroll down to the applicable line where he/she can input specific values in the editable text box.
Can MATLAB do this? If so, does anyone have a reference as to how to approach this?
Thank you.
7 comentarios
Arthur
el 11 de Sept. de 2013
80 Textboxes sounds like a lot... would it be possible to replace them with a uitable?
Brad
el 12 de Sept. de 2013
Arthur
el 12 de Sept. de 2013
Is your m-file a function or a script? You can only declare a new function if your m-file is a function itself.
Brad
el 12 de Sept. de 2013
Brad
el 12 de Sept. de 2013
Arthur
el 12 de Sept. de 2013
If you use a script, your cellEditCallback HAS to be in a separate (function) file. Otherwise you can't declare it.
Brad
el 13 de Sept. de 2013
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre App Building en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!