The Destroy function destroys the control window dynamically.
The Destroy function should be used by advanced users only.
See Button.Create.
Syntax
Button.Destroy()
Parameters
The Destroy function has no parameters.
Return value
The Destroy function has no return values.
Example
myButton.Destroy()