Board index » delphi » So what are the IDE rules for opening inherited forms?
Steve Troxell
![]() Delphi Developer |
So what are the IDE rules for opening inherited forms?2004-01-13 04:39:28 PM delphi141 I have constant problems opening inherited forms in the IDE and getting the "ancestor for XXX not found" error when the ancestor form is not already open in the IDE. I am currently using Delphi 7 but this happened with D5 too. The thing is this doesn't happen consistently. I have some projects where it never happens. I have some forms in a single project where it doesn't happen but other forms do. All the inherited forms have the "inherited" keyword at the top of the DFM. I have tried listing ancestor form units in order in the DPR. There *must* be some rhyme or reason for when the IDE wants the ancestor form already opened and when it doesn't. -- Steve Troxell |