[Lazarus] Combined index.html to fcl , lcl , rtl index.html files .

Mehmet Erol Sanliturk sanliturk at ttnet.net.tr
Wed Oct 15 19:38:03 CEST 2008


>    Png: TPortableNetworkGraphic;
> begin
>    Png := TPortableNetworkGraphic.Create;
>    try
>      Png.LoadFromFile('test.png');
>      Speedbutton.Glyph := Png;
>    finally
>      Png.Free;
>    end;
> end;
> 

tried this before, but I get

mainform.pas(3004,18) Error: Incompatible type for arg no. 1: Got "TPortableNetworkGraphic", expected "TBitmap"

on Speedbutton.Glyph:=Png;

Sebastian


-- 
Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger



More information about the Lazarus mailing list