Forum > Graphics

TIcon with dynamic created content

(1/1)

Joe:
Hi!

I want to create an TIcon at runtime (e.g. for display informations in the Systray).
Using Deplhi, I'd used TImageList.GetIcon() like described in: http://www.swissdelphicenter.ch/torry/s ... php?id=426
But in Lazarus LCL there is no method TImageList.GetIcon() and I also fail with mit TIcon.Assign(aBmp).

The code should be protable. My targets are currently linux and win32.

Any suggestions?

Gruss, Joe

Joe:
In Linux, it looks, that I cannot paint if I stay outside of a OnPaint Event.
Even not to a TBitmap.Canvas. Isn't it?

Joe:
Problem solved.
-> www.lazarusforum.de/viewtopic.php?f=25&t=3986&sid=22180be08ddcea81ae737d64058355a2

Navigation

[0] Message Index

Go to full version