- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
I am using the RemObjects PascalScript engine in one of my applications and I have a few questions. I was looking for a list of all the functions and constants available to PascalScript and the best resource I could find was this page: [url]http://www.be-precision.com/products/pdscript/webhelp/en/topics/PSSyntax.htm[/url] Most of the functions work as … |
|
Just wondering if someone can tell me what I'm doing wrong here, I just can't seem to work this out, I keep getting errors. [CODE]function GetColorFromBmp(XX, YY: Integer; Bmp: TBitmap): TColor; var Line: PRGB32Array; begin Line := Bmp.ScanLine[YY]; Result := RGBtoColor(Line^[XX].R, Line^[XX].G, Line^[XX].B); end; procedure SetColorOnBmp(XX, YY: Integer; Color: TColor; … |
|
Does anyone know which of these are quicker? [CODE]procedure SetMousePos(Point: TPoint); begin Mouse.CursorPos := Point; end; function GetMousePos: TPoint; begin Result := Mouse.CursorPos; end;[/CODE] [CODE]procedure SetMousePos(Point: TPoint); begin SetCursorPos(Point.X, Point.Y); end; function GetMousePos: TPoint; begin GetCursorPos(Result); end;[/CODE] |