Cannot inherite form in a new project which is not saved yet
Original Reporter info from Mantis: bpranoto
-
Reporter name: Bambang Pranoto
Original Reporter info from Mantis: bpranoto
- Reporter name: Bambang Pranoto
Description:
While preparing a bug report demo, I found this bug.
At IDE, when you create a new project, you cannot inherite a form. It will fail with message see screenshot:
Unable to find the class "TForm1".
It is not registered via RegisterClass and no lfm was found.
It is need by unit:
unit2.pas
Steps to reproduce:
-
At IDE, create a new project:
Project -> New Project -> Application -> Ok
-
Inherite TForm1:
File -> New -> Inherited Project Component -> Form1/Unit1.pas
Click OK
An error like the screenshot in the attachment will pop up.
Additional information:
If you save the project first, the bug is gone, so it is a very minor bug.
However, there are more bugs relating to form inheritance. I will report each bug.
Mantis conversion info:
- Mantis ID: 29642
- Build: 1.6RC2
- Fixed in revision: r63044 (#f624f618)