TXTextControl.ObjectCurrent Property

Returns or sets the current object for setting properties of images, text frames or OLE objects. The ImageInsert, ImageInsertAsChar, ImageInsertFixed, ObjectInsert, ObjectInsertAsChar, ObjectInsertFixed, TextFrameInsert, TextFrameInsertAsChar and TextFrameInsertFixed methods set this property internally to the newly inserted object. This property is also automatically changed when an object is clicked.


TXTextControl.ObjectCurrent [= ObjectId]

Data Types



Run time only.

See Also