Drawing disabled image (which is not in Imagelist) lazarus / 31-LCL ---------------------------------------------------------------------- Blaazen · 2013-08-01 13:25 Hi, does anybody know how to draw disabled image from resources (*.lrs)? I know how to do it from ImageList. I can choose on of disabled details (tbPushButtonDisabled) and use ThemeServices.DrawIcon(Canvas, Detail, Point, ImageList, Index); But when I have PNG in *.lrs resource file, I can only use Code: [Select]Glyph := TPortableNetworkGraphic.Create; Glyph.LoadFromLazarusResource('glyphname'); Canvas.Draw(x, y, Glyph);Thanks. ---------------------------------------------------------------------- User137 · 2013-08-01 13:41 I can only hint a workaround, to create and load second glyph that has pre-drawn disabled graphics.