Cant find a solution for this:
After creating an image on runtime, howto create the onmousmove handler.
Image1 := TImage.Create(Form1);
Image1.Parent := Form1;
==>? Image1.OnMouseMove:= ... ?<==
I expect somting to write like:
procedure TForm1.Image1MouseMove(Sender: TObject; Shift: TShiftState; X,
Y: Integer);
begin
doing something ...
end;
But that just does not work ...