unitUnit1;interfaceusesWindows,Messages,SysUtils,Variants,Classes,Graphics,Controls,Forms,Dialogs,StdCtrls;typeTForm1=class(TForm)Button1:TButton;Button2:TButton;Button3:TButton;Button4:TButton;Label1:TLabel;procedureButton1Click( );procedureButton2Click( );private{Privatedeclarations}public{Publicdeclarations}end;varForm1:TForm1;implementation{$R*.dfm}procedureTForm1.Button1Click( );beginLabel1.Caption:=\\\'Hello\\\'+inputBox(\\\'輸入提示\\\',\\\'請(qǐng)輸入問(wèn)候名稱(chēng)\\\',\\\'world\\\')+\\\'!\\\';end;procedureTForm1.Button2Click( );beginifColorset.Eend;end.如上面代碼的尾部的\"ifColorset.E\"我輸入ifColorset后,輸入了\".\",可是系統(tǒng)沒(méi)有自動(dòng)生成任何提示供選擇,并且出現(xiàn)了錯(cuò)誤提示:[PascalError] s[1]:UnabletoinvokeCodeCompletionduetoerrorsinsourcecode然后.我自己輸入了命令編譯后.又出現(xiàn)錯(cuò)誤:[PascalError] s[1]:Undeclaredidentifier:\'ColorSet\'但是第一個(gè)按鈕button1的代碼中.輸入Label1.C后,就自動(dòng)生成了.很多C開(kāi)頭的選項(xiàng)..那為高手能幫我啊?謝謝啊..為什么會(huì)那樣.我重裝了delphi7后.還是那樣.裝了同學(xué)的軟件后也還是.能告訴我原因嗎?