Hello,
in wptools 6 I used graphic objects as placeholders in documents/reports that were later replaced by the real picture using the following code. This allows me to use exact positioning of the graphic elements in the templates.
for j := 0 to wpView.TextObjects.Count - 1 do begin
s := uppercase(wpView.TextObjects.list[j].url);
if pos('.BMP', s) > 0 then
wpView.TextObjects.list[j].Graphic.Bitmap.LoadFromFile(tempdir + s)
else
wpView.TextObjects.list[j].Graphic.LoadFromFile(tempdir + s);
end;
This no longer works (wothout error message) in WPTools 7. The contents are not replaces, the placeholder picture stays visible.
Any help would be VERY appreciated as I have alreaady rolled out the new version and customers complain ;-(( I don't want to go back to V6!