Determines if an object can get focus and operate.

Property of

Most form components

Description

When you set the enabled property of an object to true, the user can select and use the object. When you set the enabled property to false, the object is dimmed and the user can't select or use the object. This is a visual indication that the object cannot get focus. The object is removed from the tab sequence and clicking the object has no effect.

The enabled properties of the Container and Notebook components differ somewhat from those of other form components. When the Container or Notebook's enabled property is set to "false", the enabled properties of all contained controls are likewise set to "false". When it's set to "true", the enabled properties of the contained controls regain their individual settings.

For a form, setting enabled to false will disable all components on a form or subform. The form's border area controls (the non-client area) will remain functional.