• Offizieller Beitrag

    Please note that the code you used in V4 was already problematic. It only worked since (or 'if') the object was not referenced anywhere.

    Please note that the are TWPTextObj instances and TWPObject instances.

    TWPTextObj are eithere embedded codes (such as mailmerge field start/end tags, hyperlinks, bookmarks) or references to the TWPObject instances. Their type can be determined by checking thge property ObjType.

    TWPTextObj are automatically freed when they are not required anymore. (by the TParagraph object)

    TWPObject should not be deleted. They are also deleted automatically.