Jump to content

Frame inherit error


Timothy lam

Recommended Posts

Hi,

I create the frame inherit and got the following error. The following is creating the new sheet. The next coding is about the new frame. Anything is wrong?

    FCurrentFrame := TUniFrameClass(FindClass(FormClassName)).Create(sheet);
 

image.png.da4435827aaf8933e69ba5ee6aff5e9d.png

 

type
  Tfrm_Department = class(TBaseFrame)
  private
    { Private declarations }
  public
    { Public declarations }
  end;

implementation

{$R *.dfm}

initialization
  RegisterClass(Tfrm_Department);

finalization
  UnRegisterClass(Tfrm_Department);

 

Thanks!!!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...