進來看來看,這是什麼錯!!!!!!!!
procedure gSetNewBtn(ACustomEvent: TNotifyEvent = nil);
begin
if ACustomEvent = nil then
......
......
end;
為什麼能對ACustomEvent賦缺省值為nil,但是 if ACustomEvent = nil then
不能進行比較,出現如下錯誤...
[Error] publicUnit.pas(60): Not enough actual parameters
為什麼....會這樣,那位告訴我一定給分......