DisposeDialogOnClose property
- Last Updated: October 30, 2020
- 1 minute read
- OpenEdge
- Version 12.2
- Documentation
(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 the Startup Command and Parameter
Reference for more information.