destructor()
removes a button instance and releases the occupied resources
destructor(): void;
Example
form.getItem("button").destructor();
removes a button instance and releases the occupied resources
Example
form.getItem("button").destructor();