MEGA Search
20.3 Million


Sign Up
From: LucaP  
Subject: inherit problem with WebSnap
NewsGroup: borland.public.delphi.internet.websnap
Date Posted: 24-Aug-2003 at 18:19:40 PST
Hi.
I'm developing an application using WebSnap with Delphi 6 (with update pack
2).
When i try to inherit from a pagemodule or datamodule that contains an
Adapter (i.e. TAdapter or TDataSetAdapter etc.) i receive the following
alert message: "Error creating form: cannot inherit from form 'PageName' .
It contains a component with a blank name property." (where PageName is the
name of the pagemodule or datamodule that produce the error)
If i remove the adapters, i can inherit correctly.
How can i solve this problem?
Thanks a lot.

Best regards,
Luca Panella.




From: LucaP  
Subject: Re: inherit problem with WebSnap
NewsGroup: borland.public.delphi.internet.websnap
Date Posted: 25-Aug-2003 at 10:33:59 PST
"Paulo"  ha scritto nel messaggio
news:3f48f6a5$1@newsgroups.borland.com...
> LucaP wrote:
> > Hi.
> > I'm developing an application using WebSnap with Delphi 6 (with update
pack
> > 2).
> > When i try to inherit from a pagemodule or datamodule that contains an
> > Adapter (i.e. TAdapter or TDataSetAdapter etc.) i receive the following
> > alert message: "Error creating form: cannot inherit from form 'PageName'
..
> > It contains a component with a blank name property." (where PageName is
the
> > name of the pagemodule or datamodule that produce the error)
> > If i remove the adapters, i can inherit correctly.
> > How can i solve this problem?
> > Thanks a lot.
>
> Every adapter has two unnamed properties: Data and Actions - on the
> master form just click on them and name them in Object Inspector.

Thanx a lot for the help... but why delphi's developers leave these
properties unnamed??!
Bye.




From: Paulo  
Subject: Re: inherit problem with WebSnap
NewsGroup: borland.public.delphi.internet.websnap
Date Posted: 24-Aug-2003 at 19:29:58 PST
LucaP wrote:
> Hi.
> I'm developing an application using WebSnap with Delphi 6 (with update pack
> 2).
> When i try to inherit from a pagemodule or datamodule that contains an
> Adapter (i.e. TAdapter or TDataSetAdapter etc.) i receive the following
> alert message: "Error creating form: cannot inherit from form 'PageName' .
> It contains a component with a blank name property." (where PageName is the
> name of the pagemodule or datamodule that produce the error)
> If i remove the adapters, i can inherit correctly.
> How can i solve this problem?
> Thanks a lot.

Every adapter has two unnamed properties: Data and Actions - on the 
master form just click on them and name them in Object Inspector.