[lazarus] Okay, what else has changed in Lazarus?
Tony Maro
tony at maro.net
Thu Oct 24 13:44:59 EDT 2002
On Thu, 2002-10-24 at 12:50, Tony Maro wrote:
> 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
Thanks Andrew for the e-mail - you were right it's basically my fault.
It's a showmodal form that I was closing and that was making ONCLOSE
happen twice apparently.
Thanks for the tips.
-Tony
More information about the Lazarus
mailing list