CPMoveNextObject Method

[Top]  [Chapter]  [Previous]  [Next]

Applies to

IWPTextCursor

Declaration

function CPMoveNextObject(ObjType: TxTextObjTypes; DontSkipCloseTags: WordBool): WordBool;

Description

Locate next object of a given object type ( ObjType ).

It will skip closing tags unless the second parameter is true.

You can access the properties of the object or field using CurrObj.

Please also see Memo.EnumTextObj if you need to check all objects in a text.


[idh_iwptextcursor_cpmovenextobject.htm]    Copyright © 2007 by WPCubed GmbH