Data Module Inheiritance
Posted on 1997-06-06
I have created a class that inheirits from TDataModule. This works OK. However, classes that inheirit from this class automatically include a bunch of junk in the .DFM file, like font settings. Since these are data mdules, they don't have a font, and thus I get an error when I try to create them. I can modify the .DFM file and recompile, but I have to do this every time I make a change to the underlying data module code, which is a royal pain. How can I inheirit from TDataModule and not have to go through this all the time?