Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2003-11

shared bitmaps

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Darek Mazur

I have problem with tBitmaps

why work
     bt:=tSpeedButton.create(app);
     bt.Glyph:=TBitmap.Create;
     bt.glyph.LoadFromLAZARUSResource('spin');
and don work (dont paint bitmap - only draw 1 pixel)
     bt:=tSpeedButton.create(app);
     bbt:=TBitmap.Create;
     bbt.LoadFromLAZARUSResource('spin');
    bt.glyph:=bbt

when I define BITMAPSHARINGWORKS

when definitions is OFF all is OK

some thing is with function ASSIGN but I can't find what.

Darek

Reply by email