Just installed Delphi xe7. Opened a project developed with XE7. Side note, but my first concern is that everything causes the IDE to hang, whether it be changing 'views' from Master to iPhone4, or simply dragging controls around in Design View. I previously had a tools unit that had a function that accepted a TComboEdit param. It seems they moved things around again because the function is now broken. To quickly find out which unit hosts combo edits, I opened a form and dropped a Combo edit down and saved. Cool, now I know there is a FMX.ComboEdit unit. I try to delete the combo edit and this is what I get : Selection contains a component, ComboEdit1, introduced in an ancestor and can not be deleted.
This is also true for any new control I drop on the form, e.g., even TEdits. Can't delete anything. Quick google search makes references to TGrids and columns... On my form, there are only Layouts and a TabControl, where the newly places controls are within a TabItem. Okay, maybe there is a similar bug with the TabItems, so I attempted moving the controls around, making the form their parent. But, the IDE hangs for about 30 seconds and won't do anything.
How can I delete these controls in Delphi xe7?
Visual Form Inheritance
. And in those it is by design that you cannot remove controls that were introduced in an ancestor form. You could only hide them in inherited forms. – iamjoosyVisual Form Inheritance
. E.g. controls added to inherited Views get propagated back to the Master Form which is a) differnt than standard Visual Form Inheritance and b) Leads to not being able to delete this control in the inherited view. Somewhat counter intuitive IMO – iamjoosy