Search found 4 matches

by sctsprin
Mon Nov 05, 2018 5:34 pm
Forum: PowerShell GUIs
Topic: async update GUI text
Replies: 7
Views: 2140

Re: async update GUI text

thanks, i found my mistake, i removed the if statement surrounding the textbox1.text = $results, which caused empty data to be displayed

thanks
james
by sctsprin
Mon Nov 05, 2018 2:12 am
Forum: PowerShell GUIs
Topic: async update GUI text
Replies: 7
Views: 2140

Re: async update GUI text

I actually just want to refresh once a minute, but need the last result to display until the next update, which currently isn’t happening, instead it’s flashing for a split second and is then empty u til the next flash update
by sctsprin
Sun Nov 04, 2018 9:39 pm
Forum: PowerShell GUIs
Topic: async update GUI text
Replies: 7
Views: 2140

Re: async update GUI text

Thanks for the reply, but that ends up just adding to the last result, so i end up with "12345...." etc
I want to only see the current text result displayed until it's replaced by the new result, so "1" is displayed until it's replaced by "2" etc.
by sctsprin
Sun Nov 04, 2018 5:55 pm
Forum: PowerShell GUIs
Topic: async update GUI text
Replies: 7
Views: 2140

async update GUI text

Hi, I've borrowed this powershell studio form code from the forum to run a background task then display the result in a textbox, However the textbox flashes the result, I would like the result to remain until the next updated value is displayed, Could someone please help? Windows 10, Powershell stud...