Share via


TextBox.DragBehavior Property (Outlook Forms Script)

Returns or sets an Integer that specifies whether the system enables the drag-and-drop feature for the control. Lese-/Schreibzugriff.

Syntax

Ausdruck. DragBehavior

Ausdruck Eine Variable, die ein TextBox-Objekt darstellt.

HinwBemerkungeneise

The possible values of DragBehavior are 0 and 1. 0 represents that drag-and-drop action is not allowed. 1 represents that drag-and-drop action is allowed.

If the DragBehavior property is enabled, dragging in a text box starts a drag-and-drop operation on the selected text. If DragBehavior is disabled, dragging in a text box selects text.

Sie können die Effekte der Eigenschaften EnterFieldBehavior und DragBehavior kombinieren, um eine Vielzahl an Textfeldformaten zu erstellen.

Support und Feedback

Haben Sie Fragen oder Feedback zu Office VBA oder zu dieser Dokumentation? Unter Office VBA-Support und Feedback finden Sie Hilfestellung zu den Möglichkeiten, wie Sie Support erhalten und Feedback abgeben können.