Hi Bruce
You have two options.
Firstly, you can disable EnableInteractionHints, and then handle hints like any standard TControl:
https://www.imageen.com/help/TImageEnView.EnableInteractionHints.html
Secondly, you can use the EnableInteractionHints functionality by specifying your own hints, using SetInteractionHint:
https://www.imageen.com/help/TImageEnView.SetInteractionHint.html
// display current position in pixels
procedure TForm1.ImageEnVect1MouseMove(Sender: TObject; Shift: TShiftState; X, Y: Integer);
var
xx, yy: integer;
begin
xx := ImageEnView1.XScr2Bmp(X);
yy := ImageEnView1.yscr2bmp(Y);
if (xx >= 0) and (xx < ImageEnView1.IEBitmap.Width) and (yy >= 0) and (yy < ImageEnView1.IEBitmap.Height) then
begin
ImageEnView1.SetInteractionHint(Format('%d %d', [xx, yy]), X, Y, '0000 0000');
ImageEnView1.Paint();
end;
end;
Nigel
Xequte Software
www.xequte.com
nigel@xequte.com