# Javascript: TextFieldInfo.showActivated Property

> Specifies whether a text field toggles its background to gray, if the current input position is in the field.

- **Product:** TX Text Control .NET Server
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 23.0
- **Path:** TX Text Control .NET Server > Reference > JavaScript API > Javascript: TextFieldInfo.showActivated Property
- **184 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/textfieldinfo/showactivated-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/textfieldinfo/showactivated-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/textfieldinfo/showactivated-property/llms-full.txt

---

### Description

Specifies whether a text field toggles its background to gray, if the current input position is in the field.

### Syntax

```javascript
<boolean> TextFieldInfo.showActivated
```

### Examples

The following example demonstrates `TextFieldInfo.showActivated` in a practical document-editing workflow. It specifies whether a text field toggles its background to gray, if the current input position is in the field.

```javascript
function inspectShowActivated(textFieldInfo) {
    const showActivated = textFieldInfo.showActivated;
    console.log("show activated:", showActivated);
}
```

---

## Nearby

- **Previous:** [Javascript: TextFieldInfo.name Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/textfieldinfo/name-property/llms-full.txt)
- **Next:** [Javascript: TextFieldInfo.start Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/textfieldinfo/start-property/llms-full.txt)
