A
AHLKJ
Unregistered / Unconfirmed
GUEST, unregistred user!
Scripter Studio 2.5 版本.
程序代码:
//ComboBox1 已经在窗体中建立,已引入 ap_Classes, ap_StdCtrls 单元
//ComboBox1 为 Delphi VCL TComboBox
atPascalScripter1.AddComponent(ComboBox1);
脚本代码:
//执行错误,错误信息:Unknown member identifier:'Count'.Source posiion 1,....
ShowMessage(ComboBox1.Items.Count);
//执行错误,错误信息:Invalid array indexing for property 'Items'. Expected 0 dimensions. Source position 1,...
ShowMessage(ComboBox1.Items[0]);
请问如何让 atPascalScripter 正确的识别到这些属性?
程序代码:
//ComboBox1 已经在窗体中建立,已引入 ap_Classes, ap_StdCtrls 单元
//ComboBox1 为 Delphi VCL TComboBox
atPascalScripter1.AddComponent(ComboBox1);
脚本代码:
//执行错误,错误信息:Unknown member identifier:'Count'.Source posiion 1,....
ShowMessage(ComboBox1.Items.Count);
//执行错误,错误信息:Invalid array indexing for property 'Items'. Expected 0 dimensions. Source position 1,...
ShowMessage(ComboBox1.Items[0]);
请问如何让 atPascalScripter 正确的识别到这些属性?