Method XbpPushButton():destroy() Foundation

Releases the system resources of the XbpPushButton object.

Syntax
:destroy() --> self
Return

This method returns the object executing the method (self).

Description

The method :destroy() is part of the life cycle of an Xbase Part and releases the system resources requested using the method :create(). The XbpPushButton object becomes non-operational after this method has been called. However, the object remains in existence and can later request system resources again using :create().

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.