DisposeDialogOnClose property

(Windows only; GUI for .NET only)

For dialog boxes that inherit from Progress.Windows.Form, this property indicates whether or not the AVM automatically calls Dispose( ) on the form when the dialog is closed. The default value is TRUE.

Data type: LOGICAL

Access: PUBLIC Readable/Writeable

Applies to: Progress.Windows.Form class

.NET itself does not call Dispose( ) on forms shown as dialog boxes when they are closed, but when this property is true, the AVM automatically calls Dispose( ). The only reason to set this property to FALSE is if your application needs to re-use the form at a later time. You can change the default for all forms by using the startup parameter -nodialogdispose. See OpenEdge Deployment: Startup Command and Parameter for more information.