I have never tried to disable the mouse myself, but I do know of three events under TControl that might help. Look at OnMouseMove, OnMouseDown and OnMouseUp. You could intercept the mouse activity with these and stop any unwanted mouse use.
Try this one ShowCursor(False). Use this this statement in the Form Create.
The mouse is not visible on the form.
With ShowCursor(True), it is visible again. (onClose)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.