TX Text Control ActiveX

ObjectCreated Event

Event

This event specifies that a new object has been created. This can happen when a document that contains objects, is loaded or when an object is pasted from the clipboard. This event does not occur after inserting a new object with the ObjectInsert, ObjectInsertFixed or ObjectInsertAsChar methods.

Syntax

ObjectCreated(ObjectId)

Parameters

ParameterDescription
ObjectIdIs the identifier of the object that has been created.

Data Types

NameData type
ObjectIdInteger

Remarks

The value of the ObjectCurrent property is updated with the identifier given through the ObjectId parameter.

See Also