form inheritance problem
- From: "Jo Claes" <jclaes@xxxxxxxxx>
- Date: Wed, 27 Dec 2006 22:16:59 +0100
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: Jo Claes
- Re: form inheritance problem
- From: Rob Kennedy
- Re: form inheritance problem
- Prev by Date: Opendialog problem
- Next by Date: bitwise operation doesn't work, what am I doing wrong?
- Previous by thread: Opendialog problem
- Next by thread: Re: form inheritance problem
- Index(es):
Relevant Pages
|