Delphi: Removing Visual Component Links from Inherited Forms

When I remove the visual component in the base form and forget any links in the inherited forms, my application breaks only at runtime.

What I usually do is use the search tool to search for links in .DFM, but I'm not completely satisfied with this method.

Do you have any recommendations?

+3
source share
2 answers
+4
source

To be sure, but did you use 'inherited' in the inherited dfm?

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

If you have an “object” rather than an “inherited” one, you have a lot of problems.

+1
source

Source: https://habr.com/ru/post/1699657/


All Articles