First of all, when you post your code on some external site it can be gone at any time, and any user coming across this thread will not be able to see it any more.
Second: your code is not compilable, your lpr file says that your projects depends on a unit tri which is not included. The easiest way to prepare a project for submission to the forum: Open the project in the IDE, select "Project" > "Publish Project" -- this creates a zip of the project files needed. Then upload the zip here under "Attachments and other options"; there is a size limit of 500 KB, but this should be more than enough since the "publish project" command automatically discards compiler-generated files, in particular the large executable.