Nonexistent button object in export code

This forum can be browsed by the general public. Posting is limited to current SAPIEN license holders with active maintenance and does not offer a response time guarantee.
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.
This topic is 2 years and 9 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
User avatar
johncchampion
Posts: 6
Last visit: Sun Feb 25, 2024 9:12 pm
Has voted: 1 time

Nonexistent button object in export code

Post by johncchampion »

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?
buttonButton2.jpg
buttonButton2.jpg (32.03 KiB) Viewed 11783 times
by brittneyr » Wed Jun 23, 2021 7:25 am
From the Toolbox pane, select the Selection Tab:
SPS_ToolBox-Select.png
It should display a list of all the objects in the form.
Select the object, right-click and select delete.
Go to full post
User avatar
brittneyr
Site Admin
Posts: 1655
Last visit: Thu Mar 28, 2024 9:28 am
Answers: 39
Been upvoted: 30 times

Re: Nonexistent button object in export code

Post by brittneyr »

From the Toolbox pane, select the Selection Tab:
SPS_ToolBox-Select.png
SPS_ToolBox-Select.png (30.23 KiB) Viewed 11745 times
It should display a list of all the objects in the form.
Select the object, right-click and select delete.
Brittney
SAPIEN Technologies, Inc.
User avatar
johncchampion
Posts: 6
Last visit: Sun Feb 25, 2024 9:12 pm
Has voted: 1 time

Re: Nonexistent button object in export code

Post by johncchampion »

Awesome - worked - thanks! Figured there had to be a way :)
This topic is 2 years and 9 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.