mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-17 21:09:27 +02:00
one more problem in the same example
git-svn-id: trunk@15619 -
This commit is contained in:
parent
7a8b551fb9
commit
9b8ffbea8c
@ -70,7 +70,7 @@ begin
|
||||
if TrackBar1.Enabled then
|
||||
begin
|
||||
TrackBar1.Min := 0;
|
||||
TrackBar1.Max := TCustomIcon(Image1.Picture.Graphic).Count;
|
||||
TrackBar1.Max := TCustomIcon(Image1.Picture.Graphic).Count - 1;
|
||||
TrackBar1.Position := TCustomIcon(Image1.Picture.Graphic).Current;
|
||||
TrackBar1Change(TrackBar1);
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user