View Single Post
  #1  
Old 12-16-2009, 02:15 PM
GordC GordC is offline
Junior Member
 
Join Date: Jul 2009
Posts: 3
Default Creating a TImage instance

I have just taken Delphi3 out for a spin after a few years absence. In trying to create a TImage programatically, the following code does not work:-

var myImg: TImage;
begin
myImg:= TImage.Create;
.....
end.

I get the error message 'not enough actual parameters'. What is wrong here?
GordC
Reply With Quote