I need that all my frames have the same virtual method XXXX.
I created a common ancestor for the frames:
TCommonFrame = class(TUniFrame)
procedure XXXX; virtual;abstract;
and placed it into MainModule. For my actual Frames I changed manually their ancestor from TUniFrame to TCommonFrame:
TUniFrame1 = class(TCommonFrame)
where I overrided the XXXX method.
Everything looks nice and works fine until the moment when I decides to "View as Text" any Frame or merely restart Delphi.
After that any my Frame