Roger Blanchard
447 posts
Registered:
29 Jun 2018
28 Feb 2019
Link to this post
I have been using Askquestion for months with no issue. This morning I added passing the ParentForm and now when I try to close my Parentform I get a 15580 error. Calling method: Onformclosing .NET is attempting to call a method in an ABL object that inherits from .NET. The object is either a form that has already been disposed or another object that has been explicitly deleted from the ABL (15580)
Progress site has this info on this;
https://knowledgebase.progress.com/articles/Article/Form-displayed-as-dialog-isn-t-disposed-correctly-with-DisposeDialogOnClose-TRUE
If I add THIS-OBJECT:Dispose() to the MessageForm DESTRUCTOR I do not get the error.
MessageFormHelper:AskQuestion (MessageBoxTable:MessageBox_MessageText,
MessageBoxTable:MessageBox_HeaderText,
cMessageDetail,
plDefault,
poParentForm
).