# ObjectCurrent Property

> Sets or returns the current image, text frame, signature field or OLE object whose properties are set; the insert methods and a click on an object change it.

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

---

Returns or sets the current object for setting properties of images, text frames, signature fields or OLE objects. The [ImageInsert](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/imageinsert-method/llms-full.txt), [ImageInsertAsChar](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/imageinsertaschar-method/llms-full.txt), [ImageInsertFixed](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/imageinsertfixed-method/llms-full.txt), [ObjectInsert](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/objectinsert-method/llms-full.txt), [ObjectInsertAsChar](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/objectinsertaschar-method/llms-full.txt), [ObjectInsertFixed](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/objectinsertfixed-method/llms-full.txt), [TextFrameInsert](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/textframeinsert-method/llms-full.txt), [TextFrameInsertAsChar](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/textframeinsertaschar-method/llms-full.txt), [TextFrameInsertFixed](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/textframeinsertfixed-method/llms-full.txt), [SignatureFieldInsert](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/signaturefieldinsert-method/llms-full.txt), [SignatureFieldInsertAsChar](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/signaturefieldinsertaschar-method/llms-full.txt), and [SignatureFieldInsertFixed](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/signaturefieldinsertfixed-method/llms-full.txt) methods set this property internally to the newly inserted object. This property is also automatically changed when an object is clicked.

### Syntax

```vbscript
TXTextControl.ObjectCurrent [= ObjectId]
```

### Data Types

Integer.

### Limitations

Run time only.

### See Also

- [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:** [ObjectCreated Event](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/objectcreated-event/llms-full.txt)
- **Next:** [ObjectDblClicked Event](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/objectdblclicked-event/llms-full.txt)
