This content has been marked as final. Show 4 replies
You can dispatch a custom event with all the info that you want, and have the parent application listen to it and obtain the info contained in the event.
dimival has a great idea I've done that before.
You can also make a proprety bindable on the pop-up and bind it to the property you have in the main application that it has, however this method will not depend upon clicking any buttons, once the bindable event occurs it'll be updated.
But a custom event will give you something similar but with better control of firing the event.
Great stuff, thanks very much! I was hoping that you would be able to just "pass back" some parameters or something, but, oh well. At least I'll get more experience with events =)
I know that sometimes events can be a pain in the....... jaja but trust me, when your app becomes more and more complex you'll be thankful for the event model :P, using events for this is a lot cleaner :P
Glad to help, mark this topic as closed by marking a post as the answer :)