FW: RE: [lazarus] Probelm with TComponent.Notification
Michael Van Canneyt
Michael.VanCanneyt at wisa.be
Mon Apr 12 11:27:08 EDT 1999
On Mon, 12 Apr 1999 Cliff.Baeseman at Greenheck.com (Cliff Baeseman) wrote:
>
>
> -----Original Message-----
> From: Shane Miller [mailto:SMiller1 at stvgb.org]
> Sent: Monday, April 12, 1999 9:33 AM
> To: Cliff.Baeseman at Greenheck.com
> Subject: Re: RE: [lazarus] Probelm with TComponent.Notification
>
>
> TComponent.Notification. The first line is an if statement "If Operation =
> opRemove) and (sometrhing) then... I spilt it up into 2 seperate if
> statements I put the "If Operation = opRemove" first and it never got past
> that if statement.
The reason it crashes is that there is a compiler bug: do not use default
properties ! So instead of FComponents[I] it should be FComponents.Items[i]
I will try to get this fixed in the compiler ASAP.
Michael.
More information about the Lazarus
mailing list