Generate User Request Editbox

12 vues (au cours des 30 derniers jours)
Andreas
Andreas le 5 Juil 2013
Hi all, I was wondering if it was possible to dynamically generate editboxes in GUIDE.For example if a user requests 2 editboxes,2 editboxes will be given for data input,3 editboxes requested,3 shown,etc..Any ideas.?? Thank you all!!

Réponse acceptée

Azzi Abdelmalek
Azzi Abdelmalek le 5 Juil 2013
you can create 5 editbox for example, make them invisible by
set(handles.editbox1,'visible','off')
When the user ask for an edit box, make one visible
set(handles.editbox1,'visible','on')

Plus de réponses (1)

Andreas
Andreas le 5 Juil 2013
Thank you for your reply! I thought of that too,it is a solution I already adopted,however I was thinking something more dynamic,if it is even possible to be dynamic in GUIDE.

Catégories

En savoir plus sur Data Type Identification dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by