Jump to content

ancestor for TUNIFrame


Stefano Biggi

Recommended Posts

Hello,

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;
  end;

and placed it into MainModule. For my actual Frames I changed manually their ancestor from TUniFrame to TCommonFrame:

  TUniFrame1 = class(TCommonFrame)    
    procedure XXXX;override;
  end;

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 immediately starts looking as a Form (border view is changed), a lot of errors appear and nothing works.

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...