ReadOnly Flag
ReadOnly Flag setting determines the editability of the component. It can be configured independently from the attributes of controls, and if there's a discrepancy between the settings of the component and its controls, the value set in the component takes precedence.

How To Create
Set the Component Attribute's
ReadOnlyFlag toYES.