Duplicate Default Events On Insertion Of New Controls

Support for all customers who have purchased a SAPIEN PowerShell Studio product license. This forum does not offer a response time guarantee.
Forum rules
DO NOT POST SUBSCRIPTION NUMBERS, LICENSE 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.
User avatar
pdearmen
Posts: 64
Joined: Sun Mar 03, 2013 12:42 pm

Duplicate Default Events On Insertion Of New Controls

Post by pdearmen » Fri Jan 04, 2019 12:23 pm

To help you better we need some information from you.

*** Please fill in the fields below. If you leave fields empty or specify 'latest' rather than the actual version your answer will be delayed as we will be forced to ask you for this information. ***

Product, version and build: PowerShell Studio 2019 v 5.6.156
32 or 64 bit version of product:64
Operating system:Windows 10 April 2018 Update, Latest Windows Update
32 or 64 bit OS: 64

*** Please add details and screenshots as needed below. ***
When working on new forms, the first control I add does not have any issues - but subsequent controls (upon insertion) produce a missing event handler dialog to appear

If I click on Insert two default events for the control are created in the script. If I click on Remove then only one is present in the script.

I took a video of this in action and posted it below:
https://youtu.be/4AWKY2I45ao

DO NOT POST SUBSCRIPTIONS, KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM

User avatar
davidc
Posts: 5913
Joined: Thu Aug 18, 2011 4:56 am

Re: Duplicate Default Events On Insertion Of New Controls

Post by davidc » Fri Jan 04, 2019 12:43 pm

We will investigate. Do you have the Automatically insert default events option enabled (in Options->Designer)?
David
SAPIEN Technologies, Inc.

User avatar
pdearmen
Posts: 64
Joined: Sun Mar 03, 2013 12:42 pm

Re: Duplicate Default Events On Insertion Of New Controls

Post by pdearmen » Fri Jan 04, 2019 1:31 pm

Yes I do have that option turned on
Attachments
OptionsDialog.PNG
OptionsDialog.PNG (20.31 KiB) Viewed 1389 times

User avatar
davidc
Posts: 5913
Joined: Thu Aug 18, 2011 4:56 am

Re: Duplicate Default Events On Insertion Of New Controls

Post by davidc » Fri Jan 04, 2019 1:36 pm

I believe I found the issue and it should be resolved in the next service release.
David
SAPIEN Technologies, Inc.

User avatar
davidc
Posts: 5913
Joined: Thu Aug 18, 2011 4:56 am

Re: Duplicate Default Events On Insertion Of New Controls

Post by davidc » Wed Jan 16, 2019 3:19 pm

Please try the latest service build (v5.6.157) and let us know if the issue persists.
David
SAPIEN Technologies, Inc.

User avatar
pdearmen
Posts: 64
Joined: Sun Mar 03, 2013 12:42 pm

Re: Duplicate Default Events On Insertion Of New Controls

Post by pdearmen » Thu Jan 17, 2019 2:38 pm

Works as expected now - thanks!

User avatar
davidc
Posts: 5913
Joined: Thu Aug 18, 2011 4:56 am

Re: Duplicate Default Events On Insertion Of New Controls

Post by davidc » Thu Jan 17, 2019 3:03 pm

I'm glad to hear it! Thank you for the update.
David
SAPIEN Technologies, Inc.