Search found 23 matches

by raphaelgj
Fri Sep 21, 2018 9:19 am
Forum: PowerShell GUIs
Topic: Form stuck in minimized state while loop running?
Replies: 9
Views: 4088

Form stuck in minimized state while loop running?

This is driving me nuts :) Simple proof of concept here, let's say I create an empty form with just one button: $form1_Load={ } $button1_Click={ do { [System.Windows.Forms.Application]::DoEvents() Start-Sleep -m 200 } while (!$x) } That loop runs indefinitly and since i'm calling DoEvents at every i...
by raphaelgj
Tue Sep 18, 2018 6:24 am
Forum: PowerShell GUIs
Topic: StatusBar change text color
Replies: 2
Views: 2195

Re: StatusBar change text color

Good to know very helpful
by raphaelgj
Tue Sep 18, 2018 5:35 am
Forum: PowerShell GUIs
Topic: StatusBar change text color
Replies: 2
Views: 2195

StatusBar change text color

Not sure why this isn't working however i'm quite a beginner at Powershell Studio (good knowledge of powershell though!) I have this code in a loop which works (the TEXT gets written in the status bar correctly but I want it to be yellow when it does each iteration, I added the ForeColor property bu...