Forum > Designer

Change superclass of IDE-generated forms

(1/1)

pleumann:
Hi,

I have a case where it would be convenient to extract common behavior of several forms into "something". I am thinking about a specialized TForm subclass TMyClass = class(TForm). Is it safe to change the superclass of IDE-generated forms to that class or will it cause trouble (with the IDE parsing the source code or other expectations)? I assume the designer uses a fixed class for the visual representation anyway, TForm or something else, so components added programmatically would not show up there, but that would be ok.

Best regards
Joerg

Navigation

[0] Message Index

Go to full version