Programming Track Bar
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.
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.
Programming Track Bar
I am just starting out using PowerShell Studio to program GUI's for my PowerShell scripts. I have built a basic GUI app so far using different resources I found. However I am trying to program a Trackbar for my app but can't find any examples I can use or any info for that matter on how to program it. My goal is to set each position of the track bar to represent a different value. Depending on which position is scrolled to that will update a variable to be used later.
Re: Programming Track Bar
What is a "TrackBar"? Do you mean "ProgressBar"? Have you looked at the examples in the info center:
https://info.sapien.com/
See the GUI examples.
https://info.sapien.com/
See the GUI examples.
Re: Programming Track Bar
Sorry. Yes - the TrackBar. I never yes that not have I ever seen anyone else use it.
The docs are here: https://docs.microsoft.com/en-us/dotnet ... mework-4.8
In most cases right clicking on a control in the toolbox will give you a link to the documentation.
The docs are here: https://docs.microsoft.com/en-us/dotnet ... mework-4.8
In most cases right clicking on a control in the toolbox will give you a link to the documentation.
Re: Programming Track Bar
Here is a simple example:
- Attachments
-
- Test-TrackBar.psf
- (29.72 KiB) Downloaded 169 times