Multiple Progress Bars in Webapp
古いコメントを表示
Hello.
Is there any practical solution out there, to place several uiprogressdlgs in a purposeful way? It obviously is possible, but since you can't define the position of the uiprogressdlg, if you place a second one, it will overlap the first one. We can counteract this, by defining the Message as a string array, where the first 4, 5 entries are empty strings. But there also seems to be a maximum size for the uiprogressdlg, such that positioning three for example is almost impossible and also dependant on the resolution of the used screen.
I know about multiWaitbar and progressbar, but those are not Webapp-compatible, since they open another figure.
But maybe I have overlooked something?
回答 (1 件)
Pratyush Swain
2023 年 10 月 6 日
0 投票
Hi Adrian,
I understand you want to open multiple 'uiprogressdlg' in a purposeful manner. One immediate solution can be using new 'uifigure' objects for creating multiple 'uiprogressdlg', but you want to place several progress dialogues in a single figure to be web-compatible.
Alternatively, you can consider using a different approach to display progress information without relying solely on 'uiprogressdlg'. Here are a couple of workarounds:
- Status Text: Instead of using multiple 'uiprogressdlg', dialogs, you can use a single 'uitextarea' or 'uilabel' component to display the progress information for different tasks. Update the text dynamically to show the progress of each task.
- Panel/Grid Layout: Utilize a 'uipanel' or a grid layout like 'uigridlayout'to create a custom layout where you can position multiple progress indicators ('uilabel', 'uitextarea', or custom UI components) in a purposeful way. You can update the text or values of these indicators to show the progress of different tasks.
For more information, please refer to the following documentation links:
- https://in.mathworks.com/help/matlab/ref/uitextarea.html
- https://in.mathworks.com/help/matlab/ref/uigridlayout.html
- https://in.mathworks.com/help/matlab/ref/uipanel.html
- https://in.mathworks.com/help/matlab/ref/uilabel.html
- https://in.mathworks.com/matlabcentral/fileexchange/39546-uigridcontainer-modified-resizefcn
Hope this helps.
カテゴリ
ヘルプ センター および File Exchange で Downloads についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!