showme Posted November 8, 2011 Share Posted November 8, 2011 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! Quote Link to comment Share on other sites More sharing options...
showme Posted November 8, 2011 Author Share Posted November 8, 2011 FM reply to me: "This is no longer available, use 'Self' instead." Quote Link to comment Share on other sites More sharing options...
Janex Posted November 8, 2011 Share Posted November 8, 2011 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 Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted November 8, 2011 Administrators Share Posted November 8, 2011 Well, "this" keyword was defined in versions prior to 0.85.0 . It is no longer needed as a result of architectural changes. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.