View Issue Details

IDProjectCategoryView StatusLast Update
0029986LazarusLCLpublic2020-04-17 07:46
ReporterBambang Pranoto Assigned ToMattias Gaertner  
Status assignedResolutionopen 
Product Version1.6 
Summary0029986: Visual Form Inheritance: Problem when change component parent in subclass form
DescriptionIn subclassed form if we change parent of a component inherited from the parent class, the form will fail to be loaded
Steps To Reproduce1. Create a form TForm1 with a button Button1. Save the form.

2. Create a new form inherited from TForm1, save and close the new form then reopen the form. If you do not close and reopen you will not see the button in subclassed form (TForm11).

3. Place a panel in TForm11

4. Right click the Button in TForm11

5. Change Parent to Panel1

6. Now close and save the subclassed form.

7. Reopen the subclassed form.

8. An Read Error popped up:
   Component Class=TButton
   Duplicate name: A component named "Button1" already exists
   Stream position=221

   see the screenshot in attachment

TagsNo tags attached.
Fixed in Revision
Attached Files


related to 0029643 assignedMattias Gaertner Inherit from a form name TForm<n>, where n is a digit. Inherited controls are not visible in child form. 
related to 0036920 closedJuha Manninen Delete a component from Ancestor form causes IDE hangs in all inherited forms from this parent 


Bambang Pranoto

2016-04-10 07:48


Bambang Pranoto

2016-04-10 07:50



2018-10-24 15:27

reporter   ~0111536

Is solvable this issue? Thanks

Issue History

Date Modified Username Field Change
2016-04-10 07:48 Bambang Pranoto New Issue
2016-04-10 07:48 Bambang Pranoto File Added: Screenshot from 2016-04-10 12:44:49.png
2016-04-10 07:50 Bambang Pranoto File Added:
2016-04-10 09:41 Mattias Gaertner Assigned To => Mattias Gaertner
2016-04-10 09:41 Mattias Gaertner Status new => assigned
2018-10-24 15:27 a.ramos Note Added: 0111536
2020-04-17 07:41 Juha Manninen Relationship added related to 0036920
2020-04-17 07:46 Juha Manninen Relationship added related to 0029643