Thanks for such a complex answer. I have chcecked example programs and only that with 3 rectangles worked. I guess it's because it worked on unit main window, not unit1. After pasting code using unit1 to empty project, it gave me empty form1 window. And three rectangles gave proper workin .exe <- thats what i like.
I know how variables, loops, etc work, but pascal language here is so much different from what i learned in school.
Using pseudocode, thing i want something that looks like this:
begin
open graphic box(0,0,900,800);
draw line1(x1,y1,y1,y2);
draw rectangle(rx1,ry1,rx2,ry2);
if user.clicks.in (800,0,900,0) then clrscr;
readln (or just read enter, i guess standard entry commands =/= read enter);
close graphic box;
end.
That base is what i don't know how to do. On this i will try to write short training program for Air Traffic Controllers, of course if You wish - I will post it here.