Hi Matthias
There is an issue which can cause ImageEnDBVect1 to fail to set Field.Modified. We will fix for the next update.
In the meantime, just change your code to:
procedure TMainForm.Button3Click(Sender: TObject);
begin
ImageEnDBVect1.ObjKind[ IEV_NEXT_INSERTED_OBJECT ] := iekELLIPSE;
ImageEnDBVect1.ObjLeft[ IEV_NEXT_INSERTED_OBJECT ] := 33;
ImageEnDBVect1.ObjTop[ IEV_NEXT_INSERTED_OBJECT ] := 33;
ImageEnDBVect1.ObjWidth[ IEV_NEXT_INSERTED_OBJECT ] := 20;
ImageEnDBVect1.ObjHeight[ IEV_NEXT_INSERTED_OBJECT ] := 20;
ImageEnDBVect1.ObjPenColor[ IEV_NEXT_INSERTED_OBJECT ] := clRed;
ImageEnDBVect1.ObjName [ IEV_NEXT_INSERTED_OBJECT ] := 'Test';
ImageEnDBVect1.ObjStyle[ IEV_NEXT_INSERTED_OBJECT ]:= [ievsSelectable, ievsMoveable, ievsVisible] ;
ImageEnDBVect1.AddNewObject;
ImageEnDBVect1.ImageChanged;
end;
Nigel
Xequte Software
www.xequte.com
nigel@xequte.com