Re: A nice easy Graphic problem for you........


[ DelphiLand Discussion Forum ]

Posted by Rbrrneck on May 04, 2003

In Reply to: A nice easy Graphic problem for you........ posted by Wankerzuk on April 11, 19103

hmm try this
the_array:array of timage;
begin
the_array.create;
the_array[1].picture.loadfromfile('some_path');
{when you load all the images in the array put this in the onclick eevent of the button}
begin
Image1.picture:=the_array[{some nubmer}];
end;


[ DelphiLand Discussion Forum ]