[lazarus] Okay, what else has changed in Lazarus?

Tony Maro tony at maro.net
Thu Oct 24 13:42:34 EDT 2002



> A TStaticText is only marginally different then a TLabel in functionality. 
> The Biggest difference is that it is a TCustomControl(TWinControl) instead 
> of TGraphicControl(TControl). so it owns its own handle. As for your AV 
> bizzarre problems, that may still be my fault. But it is also some funky 
> coding.  I will send you a modified about form which shouldn't have that AV.


I found the AV problem - it seems that the ONCLOSE event is firing
twice?  Just a guess.

I commented out all of the scrolling label code and it still crashed. 
It was freeing the TPixMap twice.  When I changed the ONCLOSE to have:

     if FPixMap <> nil then begin
        FPixMap.Free;
        FPixMap := nil;
     end;

it stopped crashing.

-Tony






More information about the Lazarus mailing list