Hi,
I need to hide a button and a lable in my project.
What I have done so far is to set the $<label namn>.visible to false and this doesn't work. Suggestions any one?
Hide label or button during execution
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.
Re: Hide label or button during execution
Using the Visible property is the way to do it:
PowerShell Code
Double-click the code block to select all.$button1.Visible = $false $label1.Visible = $falseDavid
David
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
Re: Hide label or button during execution
I moved the post to the PowerShell GUIs forums, since this isn't a product specific question.
David
David
David
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.