property Texture.Enabled as Boolean
Enables or disables the control.

TypeDescription
Boolean A boolean expression that indicates whether the  control is enabled or disabled.
Use the Enabled property to disable the control. The mouse or keys are not working in a disabled control.