TX Text Control ActiveX

ObjectItem Property

Property

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

Syntax

TXTextControl.ObjectItem

Data Types

Object.

Examples

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 implicitly sets the ObjectCurrent property to the just inserted object.

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

Limitations

Read only, run time only.

See Also