mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-17 18:09:32 +02:00
Implements iterating through icons in TTrayIcon
git-svn-id: trunk@27583 -
This commit is contained in:
parent
24af2168c1
commit
e9e423f664
@ -182,6 +182,11 @@ begin
|
||||
FIcons.GetBitmap(FCurAnimationStep, lBitmap);
|
||||
FIcon.Assign(lBitmap);
|
||||
InternalUpdate();
|
||||
|
||||
// Code to iterate throw the icons
|
||||
Inc(FCurAnimationStep);
|
||||
if FCurAnimationStep >= FIcons.Count then
|
||||
FCurAnimationStep := 0;
|
||||
finally
|
||||
lBitmap.Free;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user