SRL Archive - OSR Help

How do I get the coordinates of a TBox?


Sax

2012-11-11 07:06:45

So I want to know the X1, X2, Y1 and Y2 of a TBox. How do I get them?

Home

2012-11-11 07:07:42

From: Nirvana
So I want to know the X1, X2, Y1 and Y2 of a TBox. How do I get them?


var
Box :TBox;

begin
WriteLn(Box.X1)
end.

and so on..

~Home

Sax

2012-11-11 07:13:47

From: Home
var
Box :TBox;

begin
WriteLn(Box.X1)
end.

and so on..

~Home


I have done that before but it didn't work. For some reason it worked now. Thanks :D