Page 1 of 1

Duplicate Default Events On Insertion Of New Controls

Posted: Fri Jan 04, 2019 12:23 pm
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

Re: Duplicate Default Events On Insertion Of New Controls

Posted: Fri Jan 04, 2019 12:43 pm
by davidc
We will investigate. Do you have the Automatically insert default events option enabled (in Options->Designer)?

Re: Duplicate Default Events On Insertion Of New Controls

Posted: Fri Jan 04, 2019 1:31 pm
by pdearmen
Yes I do have that option turned on

Re: Duplicate Default Events On Insertion Of New Controls

Posted: Fri Jan 04, 2019 1:36 pm
by davidc
I believe I found the issue and it should be resolved in the next service release.

Re: Duplicate Default Events On Insertion Of New Controls

Posted: Wed Jan 16, 2019 3:19 pm
by davidc
Please try the latest service build (v5.6.157) and let us know if the issue persists.

Re: Duplicate Default Events On Insertion Of New Controls

Posted: Thu Jan 17, 2019 2:38 pm
by pdearmen
Works as expected now - thanks!

Re: Duplicate Default Events On Insertion Of New Controls

Posted: Thu Jan 17, 2019 3:03 pm
by davidc
I'm glad to hear it! Thank you for the update.