[lazarus] New Bug Entered

Mattias Gaertner nc-gaertnma at netcologne.de
Mon Oct 14 11:24:17 EDT 2002


On Fri, 4 Oct 2002 22:04:36 -0400
bugtracker at miraclec.com wrote:

> 
> Title: OI created events sometimes end up on wrong form
> 
> Entered by: Tony Maro
> 
> This may be related to the \"unpublished\" event issue I listed earlier, because I just noticed that\'s when it happens as well...
> 
> When using the OI to create (or sometimes just click the button to edit) a new event for an object, sometimes it will create the event both in the proper unit AND in another unit.
> 
> I\'ve seen this happen several times, but like some other things I can\'t guess as to when or why it will happen.
> 
> For instance: I just noticed my FrmEnterWithdrawal and my FrmEnterDep did the following:
> 
> { in FrmEnterWIthdrawal\'s unit: }
> procedure TFrmEnterWithdrawal.FrmEnterWithdrawalCREATE(Sender: TObject);
> 
> { in FrmEnterDep\'s unit: }
> procedure TFrmEnterDep.FrmEnterWithdrawalCREATE(Sender: TObject);
> 
> It even creates the reference in the forms type definition to match the mismatched routine.
> 
> I noticed it this time because after it happened, the TFrmEnterWithdrawal.OnCreate event existed, but the OI showed \"UNPUBLISHED\" instead of the routine name.
> 
> I hope this helps...

May be related. Can I mark this one too?


Mattias






More information about the Lazarus mailing list