tags:

views:

652

answers:

2

When I delete a visual component in a base form, and forget any references in inherited forms, my application only breaks in runtime.

What I normally do is to use a search tool to find references in .DFM, but I'm not completely satisfied with this method.

Do you have any better recommendations?

+3  A: 

Hi Erick,

maybe this helps?

Uli.

Ulrich Gerhardt
Perfect! Thanks. ;)
Erick Sasse
What would we do if we didn't have Andy? :-)
Ulrich Gerhardt
Andy is amazing...
Fabricio Araujo
A: 

Just to be sure, but have you used 'inherited' in the inherited dfm?

inherited Form1: TForm1
  Caption = 'Form1'
  PixelsPerInch = 96
  TextHeight = 13
end

If you have 'object' and not 'inherited' you get a lot of problems.

Gamecat
Yes, I have inherited. I think you can't have visual inheritance with object, can you?
Erick Sasse
No you can't but some people have tried (and failed)
Gamecat