Jump to content

Recommended Posts

Posted

Hi, FM

 

When I compile the project, the error of uniFrame occur:

 

FCurrentFrame:=TUniFrameClass(FindClass('TU'+Name+'Frame')).Create(This);

 

[DCC Error] Main.pas(64): E2003 Undeclared identifier: 'This'

 

Can you help me , thks!

Posted

Try to change This with Application or Nil.

In most situations in Create() you must specify Owner.

"This" is not a legal keyword/operator or something other in object pascal.

 

WBR

Janex

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...