FormsDesign Property

Applies To

Document object.

Description

True if the specified document is in form design mode. Read-only Boolean.

Note This property will always return False when it's run from a macro in Word.

Remarks

When Word is in form design mode, the Control Toolbox is displayed. You can use this toolbar to insert ActiveX controls such as command buttons, scroll bars, and option buttons. In form design mode, event procedures don't run, and when you click an embedded control, the control's sizing handles appear.

See Also

ToggleFormsDesign method.

Example

This example displays a message box that indicates whether the active document is in form design mode. This example will always return False.

Msgbox ActiveDocument.FormsDesign