Progress bar overlay problem

Ask questions about creating Graphical User Interfaces (GUI) in PowerShell and using WinForms controls.
Forum rules
Do not post any licensing information in this forum.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
This topic is 7 years and 6 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
Locked
User avatar
thieryl
Posts: 3
Last visit: Mon Jul 12, 2021 1:56 am

Progress bar overlay problem

Post by thieryl »

Hey guys,
I Googled everywhere but I can't find an easy tutorial to help me.
I'm trying to use the progress bar overlay from PowerShell Studio but I can't figure out how to make it work.
I have a simple deployment script : basically it's a list of actions : install this, configure that...
It is working, but the compiled exe shows nothing to the user. I'm trying to find a way to show a GUI with a changing message of what is actually done and with a progress bar increasing while the actions are performed.
It seems stupid and should be easy, but I'm banging my head against the walls.
I'm quite new to PowerShell and I would love some help of you guys...
User avatar
dan.potter
Posts: 709
Last visit: Wed Nov 14, 2018 11:39 am

Re: Progress bar overlay problem

Post by dan.potter »

right click the control, choose view spotlight article.

http://info.sapien.com/index.php/guis/g ... ay-control
User avatar
thieryl
Posts: 3
Last visit: Mon Jul 12, 2021 1:56 am

Re: Progress bar overlay problem

Post by thieryl »

Dan, I already found this page, but it explains nothing.
It doesn't show how to use the control, how to integrate it in a script.
User avatar
dan.potter
Posts: 709
Last visit: Wed Nov 14, 2018 11:39 am

Re: Progress bar overlay problem

Post by dan.potter »

the progressbar overlay works the same was as the progress bar. read both.

Look into the control sets panel in the toolbox and there is an example for the progress bar.
User avatar
thieryl
Posts: 3
Last visit: Mon Jul 12, 2021 1:56 am

Re: Progress bar overlay problem

Post by thieryl »

Oh nice, I didn't saw that section. This will be of great help.
Thank you Dan.
This topic is 7 years and 6 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
Locked