Hello Joe, thanks for your ideas on this.
>> I had even tried creating a AL with an error message that should pop up on >> window close if a flag is not set which is set only when you use the custom >> Close button that is created on the form, but that doesn't work on the >> Mid-Tier either Behaves the same way on MT 7.5, I tried that already before posting. What I implemented as a workaround is the following: - I'm setting a flag on "valid" closure of the dialog (the user is using one of the normal buttons). - I have an AL firing on close checking if the flag was set. If it wasn't, I'm sending an event to the parent form. - On the parent form, I'm catching the event and open the dialog again. Similar to the approach you mentioned below. Cheers, Tobias ________________________________ Von: Joe DeSouza [mailto:[email protected]] Gesendet: Mittwoch, 21. Juli 2010 16:15 Betreff: Re: Disable Red "X" ** Tobias, I'm afraid it is what it is. I had even tried creating a AL with an error message that should pop up on window close if a flag is not set which is set only when you use the custom Close button that is created on the form, but that doesn't work on the Mid-Tier either.. I haven't however tried that work around on MT 7.5 upwards but I can't see how it would work on that if it didn't on earlier versions.. The only way to go around this might be to create a loop to re-open the dialog window on window close if the close button is not used, but I didn't use that as it would esthetically appear a bit bizarre at least in my opinion.. If that would work for you, try that.. Cheers Joe ________________________________ From: Tobias Ranftl <[email protected]> To: [email protected] Sent: Wed, July 21, 2010 11:16:38 AM Subject: Re: Disable Red "X" I'm having this exact issue on Mid-Tier 7.5: > clicking the red X does pop the error. When you say > OK to the error, it pops the "Are you sure you want to navigate away > from this page?" message. Click OK to that and voila! Dialog closed. Anyone found a solution/workaround for this? Thanks in advance! _______________________________________________________________________________ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org<http://www.arslist.org/> attend wwrug10 www.wwrug.com<http://www.wwrug.com/> ARSlist: "Where the Answers Are" _attend WWRUG10 www.wwrug.com ARSlist: "Where the Answers Are"_ _______________________________________________________________________________ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org attend wwrug10 www.wwrug.com ARSlist: "Where the Answers Are"

