Product, version and build: PowerShell Studio 2016 Version 5.2.129
(*** Please do not write "latest" as a version, specify a version number ***)
32 or 64 bit version of product: 64 bit
Operating system: Windows 10
32 or 64 bit OS: 64 bit
PowerShell Version: V5
DO NOT POST SUBSCRIPTIONS, KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM
On a button, I set the Appearance cursor property to WaitCursor; I am trying to set this back to default, but when I click the drop down and select Default, or any other option for this property, it doe snot change and stays on "WaitCursor" I guess I can create a new button and transfer the code to nte new button action, but I am wonder if there is and easy solution to fix this.
Thanks,
Ernesto
Button appearance cursor setting
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.
- ernesto.tham@kbslp.com
- Posts: 1
- Last visit: Thu May 25, 2017 5:16 pm
Re: Button appearance cursor setting
[TOPIC MOVED TO THE POWERSHELL GUIS FORUM BY MODERATOR]
David
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
Re: Button appearance cursor setting
Please clarify. Are you saying that the wait cursor remains even fater you have changed it in the properties panel?
Here is how to set the wait cursor in an event:
This will set and clear the cursor.
Here is how to set the wait cursor in an event:
- $buttonScrollEnd_Click={
- $this.Cursor = 'WaitCursor'
- Sleep 5
- # other code
- $this.Cursor = 'default'
- }