在XE5里,按住ctrl键点函数名,没有正确打开该函数,弹出错误
错误提示:
Object reference not set to an instance of an object.
details:
[2010646A]{refactoride190.bpl} RefactorCmds.GotoSymbolDeclaration (Line 611, "RefactorCmds.pas" + 12) + $9
[50065E28]{rtl190.bpl } System.@CheckAutoResult (Line 36231, "System.pas" + 4) + $6
[2010646A]{refactoride190.bpl} RefactorCmds.GotoSymbolDeclaration (Line 611, "RefactorCmds.pas" + 12) + $9
[2072DCF1]{coreide190.bpl} CodCmplt.TCodeCompletionManager.Hotlink (Line 845, "CodCmplt.pas" + 5) + $4
[210E9CF9]{designide190.bpl} Events.TEvent.Send (Line 165, "Events.pas" + 2) + $11
[207BFEA0]{coreide190.bpl} EditorControl.TCustomEditControl.MouseDown (Line 3918, "EditorControl.pas" + 153) + $A
[5046318C]{vcl190.bpl } Vcl.Controls.TControl.DoMouseDown (Line 7363, "Vcl.Controls.pas" + 7) + $2B
[504631DB]{vcl190.bpl } Vcl.Controls.TControl.WMLButtonDown (Line 7374, "Vcl.Controls.pas" + 7) + $E
[207C00A6]{coreide190.bpl} EditorControl.TCustomEditControl.WMLButtonDown (Line 4018, "EditorControl.pas" + 2) + $4
[50462B49]{vcl190.bpl } Vcl.Controls.TControl.WndProc (Line 7224, "Vcl.Controls.pas" + 91) + $6
[50467669]{vcl190.bpl } Vcl.Controls.TWinControl.WndProc (Line 10039, "Vcl.Controls.pas" + 153) + $6
[5005FB14]{rtl190.bpl } System.TMonitor.TryEnter (Line 17402, "System.pas" + 10) + $0
[5005F694]{rtl190.bpl } System.TMonitor.Enter (Line 17095, "System.pas" + 4) + $2
[5005F518]{rtl190.bpl } System.TMonitor.CheckOwningThread (Line 17013, "System.pas" + 2) + $0
[5005F822]{rtl190.bpl } System.TMonitor.Exit (Line 17199, "System.pas" + 1) + $2
[5005F873]{rtl190.bpl } System.TMonitor.Exit (Line 17221, "System.pas" + 2) + $7
[50444B5B]{vcl190.bpl } Vcl.Graphics.FreeMemoryContexts (Line 7047, "Vcl.Graphics.pas" + 12) + $8
[50466CAC]{vcl190.bpl } Vcl.Controls.TWinControl.MainWndProc (Line 9751, "Vcl.Controls.pas" + 3) + $6
[50466EEC]{vcl190.bpl } Vcl.Controls.TWinControl.IsControlMouseMsg (Line 9815, "Vcl.Controls.pas" + 9) + $25
[50467669]{vcl190.bpl } Vcl.Controls.TWinControl.WndProc (Line 10039, "Vcl.Controls.pas" + 153) + $6
[50466CAC]{vcl190.bpl } Vcl.Controls.TWinControl.MainWndProc (Line 9751, "Vcl.Controls.pas" + 3) + $6
[501749C4]{rtl190.bpl } System.Classes.StdWndProc (Line 17010, "System.Classes.pas" + 5) + $0
[5059214F]{vcl190.bpl } Vcl.Forms.TApplication.CancelHint (Line 11117, "Vcl.Forms.pas" + 6) + $E
[50590DC3]{vcl190.bpl } Vcl.Forms.TApplication.ProcessMessage (Line 10288, "Vcl.Forms.pas" + 23) + $1
[50590E06]{vcl190.bpl } Vcl.Forms.TApplication.HandleMessage (Line 10318, "Vcl.Forms.pas" + 1) + $4
[50591141]{vcl190.bpl } Vcl.Forms.TApplication.Run (Line 10456, "Vcl.Forms.pas" + 26) + $3
这是发生在函数不在同一文件里时。
请问要怎么设置?