Hi all
I was working a gui form which has some buttons and all were working seamlessly. The last thing what i did that i moved a button to another tab. After that, when i run the Gui as a package exe or run in console, all buttons were grayed out. Maybe issue is not related about it but till that movement, everything was working.
-deleted package and created new one didn`t work out.
-Sapien 2012
-Running on VM 2012 R2
https://codeshare.io/2p4pe4
What to be done in this case?
Gui buttons grayed outs in all tabpanels
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.
Gui buttons grayed outs in all tabpanels
- Attachments
-
- 2020-05-05_16h00_51.png (114.08 KiB) Viewed 552 times
-
- 2020-05-05_16h00_07.png (108.87 KiB) Viewed 552 times
-
- 2020-05-05_15h57_35.png (18.76 KiB) Viewed 552 times
-
- Posts: 14668
- Joined: Tue May 22, 2007 9:57 am
- Has voted: 1 time
- Been upvoted: 5 times
- Contact:
Re: Gui buttons grayed outs in all tabpanels
Sorry but I don't see where the buttons are "grayed out". The buttons all look normal.
What is "Sapien 2012"?
There is no way that moving a button could do this alone. Have you tried to run the form under the debugger? Perhaps the code is disabling the buttons.
What is "Sapien 2012"?
There is no way that moving a button could do this alone. Have you tried to run the form under the debugger? Perhaps the code is disabling the buttons.
Re: Gui buttons grayed outs in all tabpanels
All buttons are not clickable. Thats the version of powershell studio. Debug output is " >> Debugging (SP Console.pff) Script...
>> Platform: V2 64Bit (STA)
ERROR: CmdletBinding : Unexpected attribute 'CmdletBinding'.
ERROR: + CategoryInfo : ParserError: (:) [], ParseException
ERROR: + FullyQualifiedErrorId : UnexpectedAttribute
ERROR:
>> Script Ended"
but cant figure out where this error happens in the code.
>> Platform: V2 64Bit (STA)
ERROR: CmdletBinding : Unexpected attribute 'CmdletBinding'.
ERROR: + CategoryInfo : ParserError: (:) [], ParseException
ERROR: + FullyQualifiedErrorId : UnexpectedAttribute
ERROR:
>> Script Ended"
but cant figure out where this error happens in the code.
-
- Posts: 14668
- Joined: Tue May 22, 2007 9:57 am
- Has voted: 1 time
- Been upvoted: 5 times
- Contact:
Re: Gui buttons grayed outs in all tabpanels
Sorry but 2012 is far too old a version and I cannot tell you what your issue is.
PowerShell V2 is also no longer supported on any current Windows platform so that could be an issue.
The code you are trying to build from is not V2 code and te V2 setting is telling you that the code version is not recognized.
The best direction I can give you is to open a support incident with Sapien to see what they say. I suspect they will require you to upgrade since your version is well out of its support date.
PowerShell V2 is also no longer supported on any current Windows platform so that could be an issue.
The code you are trying to build from is not V2 code and te V2 setting is telling you that the code version is not recognized.
The best direction I can give you is to open a support incident with Sapien to see what they say. I suspect they will require you to upgrade since your version is well out of its support date.