Description

Removes and unloads one dialog from the collection.

Return Type

None  

Syntax

object.Remove IndexOrObject

The Remove Method syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McCommandDialogs.
IndexOrObjectRequired. A Variant value.

The dialog name, its position in the collection or the object itself.

Remarks

The dialog will be fully unloaded and its window destroyed when the last reference to it is released.