<div dir="ltr">I am running Lazarus 1.6 on Windows 7. I have one application where I need to move the mouse to a certain point on the screen and then do a mouseclick from the program. <div><br></div><div>When I run the following procedure, <br><div><br></div><div><div>procedure TMain_Form.Button1Click(Sender: TObject);</div><div>var MousePos:Tpoint;</div><div>MyMouse:TMouseInput;</div><div>begin</div><div>MyMouse:=TMouseInput.Create;</div><div>MousePos:=Mouse.CursorPos;</div><div>MousePos.x:=200;</div><div>MousePos.y:=75;</div><div>Mouse.CursorPos:=MousePos;</div><div>MyMouse.Click(mbLeft,[]);</div><div>MyMouse.Destroy;</div><div><br></div><div>end;    </div></div></div><div><br></div><div>I get the following error code : Abstract Method Called. Click OK to ignore and risk data corruption or Cancel to kill the program. </div><div><br></div><div>I know the problem is in the MyMouse.Click procedure. How do I make this work?</div></div>