我尝试安装 GMLib 以在 Delphi 7 中使用 TChromium 浏览器。
在编译期间编译器显示此代码:
TChromium(FWebBrowser).Browser.MainFrame.VisitDomProc(
procedure (const doc: ICefDomDocument) //compiler higtlights this row
begin
FFields.CommaText := GetFieldsName(doc.GetElementById(FormName));
Finish := True;
end
);
下一个编译器写道:
[Error]WebControlVCL.pas[513]:Expression expected but 'PROCERURE' found
有什么事?