Hi to all!!
I trying to port the fxds (http://sourceforge.net/projects/fxds) package
(aka Decision Cube) fro delphi to lazarus.
For this i need the BoxRect function, but is missing in the LCL.

The delphi 7 helps says:

Returns the screen coordinates of a specified set of cells.

Delphi syntax:

function BoxRect(ALeft, ATop, ARight, ABottom: Longint): TRect;

C++ syntax:

TRect __fastcall BoxRect(int ALeft, int ATop, int ARight, int ABottom);

Description

Call BoxRect to obtain the screen coordinates, in pixels, of the cells that
run from the column with index ALeft to the column with index ARight and the
row with index ATop to the row with index ABottom. The coordinates of cells
that are not visible onscreen are not included in the final rectangle

Any hints to implement BoxRect are welcome.


-- 
Carlos Germán Tejero
_______________________________________________
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to