P
powersun
Unregistered / Unconfirmed
GUEST, unregistred user!
procedure Tfrmmain.TimertuTimer(Sender: TObject);
var
picfilename:string;
begin
picfile:=picfile+1;
picfile:=picfile mod 6;
picfilename:='c:/xmx/pic/'+inttostr(picfile)+'.jpg';
image1.Visible:=not(image1.Visible);
if not image1.Visible then
image1.Picture.LoadFromFile(picfilename)
end;
var
picfilename:string;
begin
picfile:=picfile+1;
picfile:=picfile mod 6;
picfilename:='c:/xmx/pic/'+inttostr(picfile)+'.jpg';
image1.Visible:=not(image1.Visible);
if not image1.Visible then
image1.Picture.LoadFromFile(picfilename)
end;