Topics

03 Troubleshooting
Designer
OutlineEntry.setImagesText() may not keep value

When an outline is saved, modifications to the entry frame text on a newly created outline entry may be lost. The work around for this is to first add the entry to the outline prior to setting the imagestext. For example, the following order does not keep the imagestext:

Outline outline = db.createOutline("Test");
OutlineEntry oe = outline.createEntry("Domino");
oe.setImagesText("abc.gif");
outline.addEntry(oe, null);
outline.save();

If oe.setImagesText() is moved after outline.save(), it keeps the imagestext.