Skip to content

Commit

Permalink
image swapping
Browse files Browse the repository at this point in the history
  • Loading branch information
CryptoTangerine committed Aug 13, 2022
1 parent c628ece commit 629eb73
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions FrameStory.pas
Expand Up @@ -33,6 +33,15 @@ implementation

procedure TStoryFrame.BackRectangleClick(Sender: TObject);
begin
with Sender as TRectangle do
begin
var next_image:= ImageList1.Source[Tag].MultiResBitmap[0];
Image1.MultiResBitmap[0].Assign(next_image);
tag:= tag + 1;
end;

exit;

MainForm.MainRectangle.Visible := True;
MainForm.StoryRectangle.Visible := False;
end;
Expand Down

0 comments on commit 629eb73

Please sign in to comment.