TIcon with dynamic created content lazarus / 39-Graphics ---------------------------------------------------------------------- Joe · 2010-07-14 04:11 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 · 2010-07-14 10:58 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 · 2010-07-20 15:17 Problem solved. -> www.lazarusforum.de/viewtopic.php?f=25&t=3986&sid=22180be08ddcea81a e737d64058355a2