showme Posted November 8, 2011 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
showme Posted November 8, 2011 Author Posted November 8, 2011 FM reply to me: "This is no longer available, use 'Self' instead." Quote
Janex Posted November 8, 2011 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
Administrators Farshad Mohajeri Posted November 8, 2011 Administrators 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
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.