Share via


ComboBox.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

expression Eine Variable, die ein ComboBox-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 combo box starts a drag-and-drop operation on the selected text. If DragBehavior is disabled, dragging in a combo box selects text.

The drop-down portion of a ComboBox does not support drag-and-drop processes, nor does it support selection of list items within the text.

DragBehavior has no effect on a ComboBox whose Style property is set to 2.

Sie können die Effekte der EnterFieldBehavior -Eigenschaft und der DragBehavior-Eigenschaft kombinieren, um so eine große Anzahl von 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.