Duplicate Default Events On Insertion Of New Controls

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.
User avatar
pdearmen
Posts: 65
Meble kuchenne na zamówienie - na wymiar - Wrocław
Joined: Sun Mar 03, 2013 12:42 pm

Duplicate Default Events On Insertion Of New Controls

Post by pdearmen »

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 »

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

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

Re: Duplicate Default Events On Insertion Of New Controls

Post by pdearmen »

Yes I do have that option turned on
Attachments
OptionsDialog.PNG
OptionsDialog.PNG (20.31 KiB) Viewed 2095 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 »

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 »

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: 65
Joined: Sun Mar 03, 2013 12:42 pm

Re: Duplicate Default Events On Insertion Of New Controls

Post by pdearmen »

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 »

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