标题: 这个变量如何设置? [打印本页] 作者: pq_cao 时间: 2007-11-14 15:43 标题: 这个变量如何设置? Sub Main
dim i as long
for i=110 to 120
Window SetContext, "Caption=ExGate", ""
ListView Click, "ObjectIndex=1;\;ItemText=变量i", "Coords=176,5"
ListView Right_Click, "ObjectIndex=1;\;ItemText=变量i", "Coords=179,6"
PopupMenuSelect "删除所选检查"
dim i as long
dim szObject as string
for i=110 to 120
szObject ="ObjectIndex=1;\;ItemText=变量" &i
Window SetContext, "Caption=ExGate", ""
ListView Click, szObject, "Coords=176,5"
ListView Right_Click, szObject, "Coords=179,6"
PopupMenuSelect "删除所选检查"