PA_Dial4DDisposeEmptyDialog


version 2003


PA_Dial4DDisposeEmptyDialog (dialog)

Parameter Type Description
dialog PA_Dial4D Dialog reference

Description

The routine PA_Dial4DDisposeEmptyDialog disposes of any dialog dialog created by the PA_NewDialog routine that was not opened by the PA_OpenDialog routine.

If the dialog is opened using PA_OpenDialog , it should be closed using the PA_CloseDialog that internally disposes the dialog, so you do not need to call PA_Dial4DDisposeEmptyDialog in this case.

This can be useful if, for example, insufficient memory forces the dialogue to be disposed of prior to being opened and after being created.

See Also

PA_CloseDialog , PA_NewDialog , PA_OpenDialog .

Error Handling

None.