Dave Coventry napsal(a):
Hi,
I have code as follows:
//================ snip =======================
procedure TForm1.FormShow(Sender: TObject);
var
BufferMap: TBitmap;
begin
BufferMap:=TBitMap.Create;
end;
//================ snip =======================
This should work (indeed it works in another project).
However, code completion does not give me the option to insert
'Create'; the only options given are bmBits through to bmWidthBytes.
When I try to compile it says 'Unit1.pas(81,22) Error: Unknown record
field identifier "CREATE" '
I'm at a bit of a loss, especially as the other project uses it
without problems. Also the 'uses' sections ARE identical.
Does anyone have any ideas?
Hi,
I think you have Windows unit in the uses section, don't you?
If so, then you must place it before Graphics in the uses list.
Tombo
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives