Link to home
Start Free TrialLog in
Avatar of Clayton Neff
Clayton Neff

asked on

Data Module Inheiritance

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?
ASKER CERTIFIED SOLUTION
Avatar of brittain
brittain

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial