Function TWPObjectEnv.GotoObject(obj:TObject) : Boolean

Unit: WPRTEDefs
Class: WPRTEDefs.TWPObjectEnv

Parameters

  • obj:TObject

Returns

The type of the result value is Boolean.

Description

Move the cursor to this object. 'obj' can be a TWPTextObj instance or an object which is referenced by any TWPTextObj.ObjRef. In the first case the TWPTextObj may be in any RTFDataBlock which is stored in the current TWPRTFDataCollectionBase