Returns a reference to an OLE object. The ObjectCurrent property determines the object.
TXTextControl.ObjectItem
Object.
Read only, run time only.
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.32", -1, 100, 100, 0, 0 TXTextControl1.ObjectItem.FontBold = True
<< TXTextControl.ObjectInsertionMode Property | >> TXTextControl.ObjectMoved Event