As long as an Xbase Part is disabled, it does not receive any mouse messages.
Method XbpWindow():disable() Foundation
Disables the Xbase Part.
:disable() --> lSuccess
This method returns the value .T. (true) when the Xbase Part could be marked as "disabled", otherwise .F. (false) is returned.
:disable() temporarily deactivates the Xbase Part. The Xbase Part cannot be accessed using the keyboard or the mouse and is displayed on the screen as "disabled". The dialog element is reactivated using the :enable() method.
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.