This browser is no longer supported. Download Microsoft Edge More info. Contents Exit focus mode. Please rate your experience Yes No.
Any additional feedback? Note If not stated otherwise, this section discusses the visualization of content controls when the document is not viewed in Design Mode. Note Rich text content controls cannot contain other rich text content controls. In this article.
The default value is the color used in Word Appearance as WdContentControlAppearance. AllowInsertDeleteSection as Boolean. Gets or sets whether users can add or remove sections from the content control by using the UI. If this property is called for a content control that is not of type repeating section, the call fails with the following error message: "This property can only be used with repeating section content controls. RepeatingSectionItemTitle as String. Gets or sets the name of repeating section items used in the context menu.
If this property is called for a content control that is not of type repeating section, the call fails with: "This property can only be used with repeating section content controls. Adds a repeating section item before the current item and returns the new repeating section item. If this method is called for a content control that is not of type repeating section item, the call fails with: "This property can only be used with repeating section item content controls.
Adds a repeating section item after the current item and returns the new repeating section item. Returns the range of the specified repeating section item, excluding the start and end tags. Adds a repeating section item after the specified item and returns the new item. Adds a repeating section item before the specified item and returns the new item. Represents a content control that contains a single item in a repeating section. Specifies a repeating section content control.
This element is mutually exclusive with all other control types and has no child elements or attributes. Specifies a repeating section item content control. Here you can give the control a title, change the color, style the text and specify whether or not the control can be edited or deleted. At the very bottom are the control specific options, so if you have a plain text control set up, you can control how many lines you want to allow. That last option is useful if you need someone to type in a paragraph of text.
Plain-text controls do allow bold, font changes or color changes. If you need a drop down field added to your form go ahead and insert the drop down control. Highlight the field and again go to Properties to add your custom drop down options.
By default, the Display Name and Value will be the same, but you can change it if you like. There really is no reason to change the value unless you are writing Word macros and refer to the controls in code. Hint: If your drop down field is not displaying make sure you are out of the Design Mode control. The only difference between the dropdown list control and the combo box control is that the latter allows the user to enter their own value.
The date picker control works just like any date picker you have probably used before. When you click on it, a calendar appears and you can simply click on the date to select it. To add a content control field, place your cursor in the desired location, then choose a field from the Controls group on the Developer tab. You can hover your mouse over the fields to see the different options. In this example, we're adding a text field so users can type their first names. You can add several types of fields.
For example, you can add check boxes for a yes-no question:. Repeating Section Content Control: Use this control to enter repetitive content e. Legacy Tools: Theseform field types were available in previous versions of Word; that is, Word 97 through You can still use them in Word , but these forms must be saved in one of the previous legacy formats i.
First, select the application type you want to create, then decide which questions or fields you want to ask your audience. Click the Plain Text Content Control button. Enter your custom text e. Click the Properties button to add a title or tag; change the border, color, or style; set the date format, and define several content control properties related to this field.
For the third field, Sex; type Male , then select the Check Box button. Press the spacebar a couple of times, then type Female and click the Check Box button again.
0コメント