form inheritance problem



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;


.



Relevant Pages

  • Re: Problem w/ Inherited Forms .NET 2.0 CF
    ... I have tried to write a "wrapper" class for the InputPanel but the issue is ... Build your project and then display Form2 in the designer. ... "Visual inheritance is currently disabled because the base class ... > to the base form. ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: TypeConverter in a form property
    ... attain Visual Inheritance. ... > thks for the help. ... > if you see i have a base form with a public property. ... > form) i will do the changes to the ihnrited property MyClassTest, ...
    (microsoft.public.dotnet.framework.windowsforms.designtime)
  • Problem w/ Inherited Forms .NET 2.0 CF
    ... problem arose when I added an Input Panel ... to the base form. ... inheritance is currently disabled because the base class references a ... the default name "Button1". ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: Inheritance doubt.
    ... I am planning to use inheritance for forms which have similar controls ... The startup object was the base form. ... loads but the inherited form button2 procedure fires twice. ... Overrideable Sub Button2_ClickHandles Button2.Click ...
    (microsoft.public.dotnet.languages.vb)
  • Datagrid Inheritance
    ... I have a base form that contains a datagrid and a toolbar with navigation ... for the grid. ... Aside from not using visual form inheritance, does anyone have ideas on how ...
    (microsoft.public.dotnet.framework.windowsforms.controls)