<div dir="ltr"><div>Hello,</div><div><br></div><div>How to load an ICON using FCL-Image? Something like:</div><div><br></div><div>program project1;</div><div><br></div><div>{$mode objfpc}{$H+}</div><div><br></div><div>uses</div>
<div> FPimage, FPRead???;</div><div><br></div><div>var</div><div> r: TFPReader???;</div><div> i: TFPMemoryImage;</div><div>begin</div><div> r := TFPReader???.Create;</div><div> i := TFPMemoryImage.Create(16, 16);</div>
<div> try</div><div> i.LoadFromFile('lazarus16x16.ico', r);</div><div> finally</div><div> r.Free;</div><div> i.Free;</div><div> end;</div><div>end.</div><div><br></div><div>Thank you!</div><div><br></div>
-- <br>Silvio Clécio<br>My public projects - <a href="http://github.com/silvioprog" target="_blank">github.com/silvioprog</a>
</div>