Inherit from a form name TForm<n>, where n is a digit. Inherited controls are not visible in child form.
Original Reporter info from Mantis: bpranoto
-
Reporter name: Bambang Pranoto
Original Reporter info from Mantis: bpranoto
- Reporter name: Bambang Pranoto
Description:
If we inherited from a form and the form/unit has a default name: TForm&LtPos;n>/unit&LtPos;n>.pas, the inherited controls are not visible at design time.
They are correctly shown at run time.
Steps to reproduce:
- Create a new project.
- Save the project.
- Place some visual controls at Form1
- Inherit form1 via File -> New -> Inherited Project Component
- Form2 which is descendant or Form1 is created, but inherited controls are not shown.
Additional information:
The bug is gone if we save Form1/Unit1.pas with another name.
Mantis conversion info:
- Mantis ID: 29643
- OS: Ubuntu
- OS Build: 12.04
- Build: 1.6RC2
- Platform: Linux
- Monitored by: » a.ramos (a.ramos)