Creation of gui components which is set visible off, is visible for short time?
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Shreeprasad Bhat
le 29 Mar 2017
Commenté : Shreeprasad Bhat
le 30 Mar 2017
I have developed a tool using MATLAB guide. I have created 3 tabs and a panel for each tab. Each panel has around 10 GUI components(such as buttons, sub panels and textboxes etc). I will be making visible off for other two panels when a tab is clicked.
Issue: When I start the tool , GUI appears slowly, where initially visible property of other panels i set to off slowly, so one can see the creation of all panels during start for about a 1 second to 2 seconds. It appears really awkward.
MATLAB version: Matlab R2012b
Help me with this issue?
0 commentaires
Réponse acceptée
Jan
le 29 Mar 2017
You can hide the complete figure during the creation. If the creation takes some seconds, the appearence must be awkward. Professional tools use a splash screen during the creation of the GUI.
Perhaps some drawnow commands help to update the visibility status, but this will increase the time until the GUI is ready to use.
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Migrate GUIDE Apps 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!