# TextFrameDeactivated Event

> Occurs when a text frame has lost the input focus; passes the text frame identifier and updates the ObjectCurrent property with it.

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

---

Occurs when a text frame has lost the input focus.

Introduced: 12.0.

### Syntax

```vbscript
TextFrameDeactivated(TextFrameId)
```

### Parameters

| Parameter | Description |
|---|---|
| TextFrameId | Is the identifier of the deactivated text frame. |

### Data Types

| Name | Data type |
|---|---|
| TextFrameId | Integer |

### Remarks

The value of the [ObjectCurrent](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/objectcurrent-property/llms-full.txt) property is updated with the identifier given through the TextFrameId parameter.

### See Also

- [TextFrameActivated Event](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/textframeactivated-event/llms-full.txt)
- [Programming Category: Images, Text Frames, Signature Fields and OLE Objects](https://docs.textcontrol.com/tx-text-control-activex/reference/categories/images-objects/llms-full.txt)

---

## Nearby

- **Previous:** [TextFrameBorderWidth Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/textframeborderwidth-property/llms-full.txt)
- **Next:** [TextFrameInsert Method](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/textframeinsert-method/llms-full.txt)
