colttaylor
Programmer
I want to use form inheritance in a project and have set up an abstract ancestor form called tdbform. I then created a descendent form and IT WORKED!!! Cool stuff... An hour later, I had four different descendent forms, each offering a consistent interface to a different database table. Since they all were created using the "Inherit from" option of the object repository, modifications to the ancestor, enhances all four descendents at the same time. Cool!!!
Then I saved the project, closed down delphi and got some sleep.
The next morning, I launch Delphi and am told during the startup that...
Error creating form: Ancestor for 'tdbform' not found
Now the F12 key doesn't for any of the descendent forms. All of the ancestor and descendent files (.pas and .dfm ) are present in the project's subdirectory.
What is going on...?
Any help would be greatly appreciated as I am about to rewrite the whole project without inheritence.
Thanks,
Colt.
If it's stupid but it works, it isn't stupid
Then I saved the project, closed down delphi and got some sleep.
The next morning, I launch Delphi and am told during the startup that...
Error creating form: Ancestor for 'tdbform' not found
Now the F12 key doesn't for any of the descendent forms. All of the ancestor and descendent files (.pas and .dfm ) are present in the project's subdirectory.
What is going on...?
Any help would be greatly appreciated as I am about to rewrite the whole project without inheritence.
Thanks,
Colt.
If it's stupid but it works, it isn't stupid