Leledumbo and Shebuka
Thanks for the attachments. When I try to run both your applications I get this error:
Error Identifier not found RequireDerivedFormResource but by commenting out the offending line, the programs work.
I can compile and run shebuka's shapemovement code, but can't get the shape to move.
Leldumbo's program, however, works sort of!! The interval certainly changes between 1000 and 1, and speeds up and slows down the shape. But if I change the code for the buttonClick event to say 1000 and 200, the interval changes but in exactly the same way as for 1000 and 1. Very strange.
With ludob's code, I dropped a button, timer and shape onto a form, copied the code over and got this error message:
Error: method identifier expected on this line:
procedure TForm1.Timer1Timer(Sender: TObject);Thanks for the help - don't give up on me, please! I'm really enjoying learning Lazarus and object Pascal and these problems are helping me understand more!!
