Search found 107 matches
- Thu Aug 02, 2012 11:39 am
- Forum: PowerShell
- Topic: Animated images other than the spinning circle?
- Replies: 3
- Views: 2282
Animated images other than the spinning circle?
The little spinning 'wait animation' used in, among other things, the "Run Process" control set is nice. However, I would love to use other types of images from time to time (e.g. clock image). Are such things available? Or does one have to make their own?
- Thu Aug 02, 2012 9:35 am
- Forum: PowerShell
- Topic: Maintain visual style for button
- Replies: 6
- Views: 2894
Maintain visual style for button
I need to change a button from its inherited color to something else. That's easy enough to do, but it seems to also change the default visual style (i.e. two-tone) to a single color button. I've poked around and read a few things about resetting the UseVisualStyleBackColor property before setting t...
- Thu Aug 02, 2012 9:35 am
- Forum: PowerShell
- Topic: Maintain visual style for button
- Replies: 6
- Views: 2894
Maintain visual style for button
I need to change a button from its inherited color to something else. That's easy enough to do, but it seems to also change the default visual style (i.e. two-tone) to a single color button. I've poked around and read a few things about resetting the UseVisualStyleBackColor property before setting t...
- Wed Jul 25, 2012 5:09 am
- Forum: PowerShell
- Topic: Forcing a form to close before process completes
- Replies: 4
- Views: 1868
Forcing a form to close before process completes
The progress bar isn't associated with the timer. The progress bar tracks the main process. Once that's done, the progress bar resets to a value of 0 and the timer starts. When it reaches 00, the main process starts again. This is all working fine. What I need to be able to do is abort the script wh...
- Tue Jul 24, 2012 9:26 am
- Forum: PowerShell
- Topic: Forcing a form to close before process completes
- Replies: 4
- Views: 1868
Forcing a form to close before process completes
I have built a form in PSS using the 'Process Tracker' control set. I have set the process to run, wait for 60 seconds, and then start over. The entire things works great. However, the 'stop process' button only seems to work while the process is actually running -- not during the 60 second wait tim...
- Tue Jul 24, 2012 9:26 am
- Forum: PowerShell
- Topic: Forcing a form to close before process completes
- Replies: 4
- Views: 1868
Forcing a form to close before process completes
I have built a form in PSS using the 'Process Tracker' control set. I have set the process to run, wait for 60 seconds, and then start over. The entire things works great. However, the 'stop process' button only seems to work while the process is actually running -- not during the 60 second wait tim...
- Mon Jul 09, 2012 9:23 am
- Forum: PowerShell Studio
- Topic: Setting form object properties via a forloop
- Replies: 6
- Views: 3744
Setting form object properties via a forloop
That appeared to be the problem. Working like a champ now.
Another rookie mistake FTW!
Thanks!
I will take this type of thing to the other forum in the future. mbaker2012-07-09 16:24:03
Another rookie mistake FTW!
Thanks!
I will take this type of thing to the other forum in the future. mbaker2012-07-09 16:24:03
- Mon Jul 09, 2012 8:38 am
- Forum: PowerShell Studio
- Topic: Setting form object properties via a forloop
- Replies: 6
- Views: 3744
Setting form object properties via a forloop
Really? I thought that only applied to single-quotes. In any regard, still no dice. I changed my code to read this way: $names = $fee,$fii,$foe,$fum $fee = New-Object 'System.Windows.Forms.Label' $fii = New-Object 'System.Windows.Forms.Label' (and so on...) for($n=0;$n -lt $names.count;$n++) { if($s...
- Mon Jul 09, 2012 7:44 am
- Forum: PowerShell Studio
- Topic: Setting form object properties via a forloop
- Replies: 6
- Views: 3744
Setting form object properties via a forloop
But $fee equals new-object. When I go through the loop, calling $fee, won't it just try to create another new object and throw an error? I am going to try it and see....
- Mon Jul 09, 2012 7:18 am
- Forum: PowerShell Studio
- Topic: Setting form object properties via a forloop
- Replies: 6
- Views: 3744
Setting form object properties via a forloop
Not sure if my logic is wrong, or if this is even the proper way to do this. In any regard, it's not working... I have an array like this: $names = "$fee","$fii","$foe","$fum" Then, I create a series of form objects (e.g. labels) with the same names: $fee = Ne...