Re: form inheritance problem
- From: "Jo Claes" <jclaes@xxxxxxxxx>
- Date: Thu, 28 Dec 2006 14:09:50 +0100
After some trial and error I've put all the forms in the same package it
worked fine untill i recompiled the package for the xx-time. Since then the
problem has returned. The strange thing is that I didn't change any letter
on the source code of that form.
I was creating a new form in the same package.
Why this happens.
Please advice
"Jo Claes" <jclaes@xxxxxxxxx> wrote in message
news:4592e27d$0$30054$ba620e4c@xxxxxxxxxxxxxxxxx
Hi,
I still have my Form inheritance problem..
I have a Package with several forms ...frmStandard is the base form ...
In a new Package I create a new form ( fe frmNew) based on frmStandard
when i create a new form ( frmNew2) inherited from frmNew then constructor
Create on the base form (frmStandard) stops on inherited Create(aOwner) ;
not showing an error ;
Why ???
below a part of my constructor code ...
constructor TfrmStandard.Create(aOwner: TComponent);
begin
// here i come allways ;
inherited Create(aOwner) ;
// here i don't come anymore when i create a instance frmNew2 ..
// creating a instance of frmNew ---> no problem ..
Font.Name := 'Courier New';
Font.Size := 8;
SetCacheSettings ;
LoadFormSettings ;
if self.CacheUser = nil then self.CacheUser := TosCacheUser.Create(Self);
if self.CacheFirm = nil then self.CacheFirm := TosCacheFirm.Create(Self);
EditableFields_Clear ;
end;
.
- Follow-Ups:
- Re: form inheritance problem
- From: Rudy Velthuis
- Re: form inheritance problem
- References:
- form inheritance problem
- From: Jo Claes
- form inheritance problem
- Prev by Date: Re: bitwise operation doesn't work, what am I doing wrong?
- Next by Date: Re: form inheritance problem
- Previous by thread: Re: form inheritance problem
- Next by thread: Re: form inheritance problem
- Index(es):
Relevant Pages
|