Hi! Yesterday, after some days without some result with my form, I wrote to Lazarus List as a last chance to the form, because I don't have any idea about this problem and I was desperate. It work's on Lazarus 0.9.28 (and with some versions of 0.9.29, but not with latest revisions) and Delphi. I thought that the problem is with lfm or lrs file. So I compared lrs and lfm files with others form files and nothing wrong. So I compared the code. At some point was wrote:
procedure AfterConstruction; override; On others forms that are working, I don't have this procedure. So, I go to svn, to see how, why and when this procedure Is wrote. So reading the code I see that is missing on implementation of procedure AfterConstruction this line: inherited AfterConstruction; So, this problem exists when this procedure is wrote, but some change made in recent Lazarus 0.9.29 revisions broke my "broken" code. I discover it some hours ago :) Regards, Fabio 2010/9/11 Mattias Gaertner <[email protected]>: > On Fri, 10 Sep 2010 14:43:38 -0300 > "[email protected]" <[email protected]> wrote: > >> I'm creating a component that show modal a form at design time. when >> ShowModal function is called, on console I got: >> >> [WARNING] ShowModal called without handle for formname (TFormName) >> >> >> Somebody have some idea? > > There is something wrong before your ShowModal call. > More code is needed to tell more. > > Mattias > > -- > _______________________________________________ > Lazarus mailing list > [email protected] > http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus > -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
