Product: PowerShell Studio 2021 (64 Bit)
Build: v5.8.191
OS: Windows 10 Pro (64 Bit)
Build: v10.0.19042.0
PowerShell version(s): PowerShell Core v7.1
I seem to have a button object that does not exist on the form (that I can find) and I'd like to delete it somehow. It shows up in the Properties dropdown and the exported code ($buttonButton2) but the actual button is no where to be found in the Designer and there are no references to it in the script view.
Is there a method to remove the object reference when it doesn't show up in the Designer/form or the script code?
Nonexistent button object in export code
Forum rules
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.
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 LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
- johncchampion
- Posts: 6
- Last visit: Sun Feb 25, 2024 9:12 pm
- Has voted: 1 time
Nonexistent button object in export code
From the Toolbox pane, select the Selection Tab:
Select the object, right-click and select delete.
It should display a list of all the objects in the form.Go to full postSelect the object, right-click and select delete.
Re: Nonexistent button object in export code
From the Toolbox pane, select the Selection Tab:
Select the object, right-click and select delete.
It should display a list of all the objects in the form.Select the object, right-click and select delete.
Brittney
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
- johncchampion
- Posts: 6
- Last visit: Sun Feb 25, 2024 9:12 pm
- Has voted: 1 time
Re: Nonexistent button object in export code
Awesome - worked - thanks! Figured there had to be a way