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! 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." 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 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. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now