[PLUGIN] Dialog Box

Post your completed addons to share with the community

Post » Thu Dec 05, 2013 8:19 am

please provide a capx, the dialog box works correctly here
B
44
S
12
G
13
Posts: 628
Reputation: 10,471

Post » Tue Nov 03, 2015 8:56 pm

Your plugin is really cool, it just has a problem.

The "Ok button clicked event" of the confirm dialog remains active on layout change. Let me explain:

* You listen to the "Ok button clicked event"
* Your action sends you to another layout.
* At some moment you go back to the layout where the event got triggered.
* Your action executes again on layout start :(

Is like if the event stood still active when you go back to the layout where it were triggered.

The solution is to simply make the "Ok button clicked event" a sub-event of the one that made the confirm dialog show up. That way, the event works as espected.
Image
B
19
S
5
G
1
Posts: 5
Reputation: 1,537

Post » Fri Nov 13, 2015 2:23 pm

sounds good
B
2
S
1
Posts: 1
Reputation: 408

Post » Tue Jul 05, 2016 8:21 am

@JeyDotC Thank you for the tip about making it a sub-event instead. Worked like a charm since I was just stuck with this same dilemma and wondering how to get around it. Thanks!
Image
B
16
S
3
G
1
Posts: 18
Reputation: 1,375

Previous

Return to Completed Addons

Who is online

Users browsing this forum: Lordshiva1948 and 3 guests