Adding an inherited TFrame to a project adds incorrect CreateForm to project source
Original Reporter info from Mantis: TWhyman
-
Reporter name: Tony Whyman
Original Reporter info from Mantis: TWhyman
- Reporter name: Tony Whyman
Description:
In the Lazarus IDE, select
File->New ...
and then "inherited Project Component" and select a TFrame descrendent in the right hand pane.
The selected TFrame is correctly subclassed. However, the IDE seems to think it is a form and also adds an invalid "Application.CreateForm" line for it to the project source. This results in a compile time error until it is deleted.
Mantis conversion info:
- Mantis ID: 26493
- OS: amd64
- OS Build: 3.2.0-61-generic
- Platform: linux
- Version: 1.2.4
- Fixed in revision: r63005 (#f5472e82)