# AllowDrag Property

> Gets or sets a Boolean that lets TXTextControl act as the source of a drag-and-drop operation; set AllowDrop to True to accept data dropped onto the control.

- **Product:** TX Text Control ActiveX
- **Section:** Documentation
- **Kind:** Property
- **Path:** TX Text Control ActiveX > API Reference > TXTextControl > AllowDrag Property
- **107 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/allowdrag-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/allowdrag-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/allowdrag-property/llms-full.txt

---

Gets or sets a value indicating whether the control can be a source of a Drag&Drop operation. To allow the control to accept data that the user drags onto it, the [AllowDrop](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/allowdrop-property/llms-full.txt) property must be set to true.

Introduced: 15.1.

### Syntax

```vbscript
TXTextControl.AllowDrag
```

### Data Types

Boolean.

### See Also

- [Programming Category: Control Settings](https://docs.textcontrol.com/tx-text-control-activex/reference/categories/control-settings/llms-full.txt)

---

## Nearby

- **Previous:** [Alignment Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/alignment-property/llms-full.txt)
- **Next:** [AllowDrop Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/allowdrop-property/llms-full.txt)
