I used Brush Demo to make an eraser with ImageEnVect. Now after using brush I try to insert objects (Line, Circle, Rectangle etc) but mouse cursor does not change to default. It also draws mouse movement along with object drawing. How can I release mouse cursor to default from brush style this may be a very small issue but the I am unable to manage two layers in correct way(image layer and brush layer).
Anything here to change on mousemove:
with Layers[1] do
begin
bx:=Bitmap.Width;
by:=Bitmap.Height;
if Antialias.Checked then
begin
Width:=bx div 2;
Height:=by div 2;
end;
px:=XScr2Bmp(X) - Width div 2;
py:=YScr2Bmp(Y) - Height div 2;
PosX:=px;
PosY:=py;
Operation:=op;
end;
Please help.