Re: form inheritance problem
- From: "Rudy Velthuis" <newsgroups@xxxxxxxxxxxx>
- Date: Thu, 28 Dec 2006 13:14:10 +0000 (UTC)
Jo Claes wrote:
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.
Delphi has problems with forms in packages (but not in normal
applications), and even more with inherited forms. They don't even
display as forms, just as units. I had to re-register them (i.e. put
them in the palette) in the correct order each time I changed
something, until I simply created a new app in the same project group
which contained all the forms (no more, it just includes them). Since
then, no problems anymore.
So I suggest you add a new project to your project group, and simply
add all the forms to that project. That will keep Delphi happy.
--
Rudy Velthuis http://rvelthuis.de
"When choosing between two evils, I always like to try the one
I've never tried before." -- Mae West (1892-1980)
.
- References:
- form inheritance problem
- From: Jo Claes
- Re: form inheritance problem
- From: Jo Claes
- form inheritance problem
- Prev by Date: Re: form inheritance problem
- Next by Date: Re: Opendialog problem
- Previous by thread: Re: form inheritance problem
- Next by thread: bitwise operation doesn't work, what am I doing wrong?
- Index(es):
Relevant Pages
|