# FieldDeleted Event

> Occurs when a marked text field has been deleted; the FieldId parameter identifies the deleted field, and the FieldCurrent property is set to zero.

- **Product:** TX Text Control ActiveX
- **Section:** Documentation
- **Kind:** Event
- **Path:** TX Text Control ActiveX > API Reference > TXTextControl > FieldDeleted Event
- **260 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/fielddeleted-event/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/fielddeleted-event/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/fielddeleted-event/llms-full.txt

---

Occurs when a marked text field has been deleted.

### Syntax

```vbscript
FieldDeleted(FieldId)
```

### Parameters

| Parameter | Description |
|---|---|
| FieldId | Is the identifier of the field that has been deleted. |

### Data Types

| Name | Data type |
|---|---|
| FieldId | Integer |

### Remarks

The value of the [FieldCurrent](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/fieldcurrent-property/llms-full.txt) property is set to zero.

### See Also

- [Marked Text Fields](https://docs.textcontrol.com/tx-text-control-activex/document-editor/fields/llms-full.txt)
- [FieldChanged Event](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/fieldchanged-event/llms-full.txt)
- [FieldClicked Event](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/fieldclicked-event/llms-full.txt)
- [FieldCreated Event](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/fieldcreated-event/llms-full.txt)
- [FieldDblClicked Event](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/fielddblclicked-event/llms-full.txt)
- [FieldSetCursor Event](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/fieldsetcursor-event/llms-full.txt)
- [Programming Category: Text Fields](https://docs.textcontrol.com/tx-text-control-activex/reference/categories/text-fields/llms-full.txt)

---

## Nearby

- **Previous:** [FieldDeleteable Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/fielddeleteable-property/llms-full.txt)
- **Next:** [FieldDescriptiveText Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/fielddescriptivetext-property/llms-full.txt)
