TXTextControl.TXTextControl.ObjectItem Property

Returns a reference to an OLE object. The ObjectCurrent property determines the object.

Syntax

TXTextControl.ObjectItem

Data Types

Object.

Limitations

Read only, run time only.

Example

The following Basic example inserts a Text Control into another Text Control at the current input position and sets the font bold attribute for the inserted Text Control. The ObjectInsertAsChar method implicitely sets the ObjectCurrent property to the just inserted object.

TXTextControl1.ObjectInsertAsChar 2, "TIS.TX.TextControl.24", -1,
100, 100, 0, 0
TXTextControl1.ObjectItem.FontBold = True

See Also