Tandaan
Ang pag-access sa pahinang ito ay nangangailangan ng pahintulot. Maaari mong subukang mag-sign in o baguhin ang mga direktoryo.
Ang pag-access sa pahinang ito ay nangangailangan ng pahintulot. Maaari mong subukang baguhin ang mga direktoryo.
Returns or sets an Integer that specifies whether the system enables the drag-and-drop feature for the control. Read/write.
Syntax
expression.DragBehavior
expression A variable that represents a TextBox object.
Remarks
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.
You can combine the effects of the EnterFieldBehavior property and DragBehavior to create a large number of text box styles.
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.