Sign in Join

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

Mailing lists / lazarus / 2003-10

difference in tSpeedButtons

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

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

Mattias Gaertner
to Darek Mazur: Hi I've noticed about tSpeedButton is different from that one in Delphi, if I do…
Show quoted text 11 lines
Hi I've noticed about tSpeedButton is different from that one in Delphi, if I do GLYPH:=aaBitMap then in Delphi was invoke FOryginal.assign(aaBitMap) but in LAZARUS I see FOryginal:=aaBitMap that cause I can share aaBitMap to more SpeedButtons because when I destroy first, and second I've got RunError (I can't destroy one object two times) I'm ask: If it will be it change

Yes, it will be changed, when sharing TBitmaps fully works. AFAIK the only missing thing is some bookkeeping of shared handles.

PS. remove WRITELN from BITMAP.INC

I removed a few of them.

Mattias

Reply by email

Darek Mazur

Hi
I've noticed about tSpeedButton is different from that one in Delphi,

if I do GLYPH:=aaBitMap then in Delphi was invoke FOryginal.assign(aaBitMap)
but in LAZARUS I see FOryginal:=aaBitMap

that cause I can share aaBitMap to more SpeedButtons because when I destroy first, and second I've got RunError (I can't destroy one object two times)

I'm ask: If it will be it change

PS. remove WRITELN from BITMAP.INC

Darek

Reply by email