Applies to: 2007 Microsoft Office System, Microsoft Office Word 2007
By using content controls, you can create interactive forms within Word documents. But sometimes you might want to restrict how a user works with a content control.
The following example sets the locking properties for a rich text textbox content control. The locking properties are based on the value that a user selects from two drop-down list content controls.
Word allows two restrictions for content controls. To set these restrictions, you use the LockContents and LockContentControl properties.
With the LockContents property, you can stop a user from changing the value of a content control. With the LockContentControl property, you can prohibit a user from deleting a content control.