I can use TRec with no problems until i add windows to the uses , then it complains of a syntax error ,
try this code with and without the windows , in the uses.
I kind of need the windows uses in because i want to be able to change the cursor , is there some other way ?
uses
Classes, SysUtils, Forms, Controls, Graphics, Dialogs,windows;
type
{ TForm1 }
TForm1 = class(TForm)
procedure FormShow(Sender: TObject);
private
public
end;
var
Form1: TForm1;
implementation
{$R *.lfm}
{ TForm1 }
procedure TForm1.FormShow(Sender: TObject);
var
ImageRect : TRect;
begin
ImageRect := Rect(24,24,1512,1512);
end;