There's no line its an error in the source code it says like if i type....

PaintBox.

the error comes up theres nothing wrong with the source except my proc isnt declared in private or public and doesnt use TForm.Proc.