哪位帮忙解释下这段代码的意思
Function subBaseData(CtrType as string,CtrName as string,ActionValue as string)Select Case CtrType
Case "EditBox"
EditBox Click, "Type=EditBox;Name="+CtrName, "Coords=1,1"
InputKeys ActionValue
case "ComboBox"
ComboBox Click, "Type=ComboBox;Name="+CtrName, ""
ComboListBox Click, "Type=ComboListBox;Name="+CtrName, "Text="+ActionValue
Case Else
MsgBox "File was not hidden."
End Select
End Function 就是自定义的一个函数,根据传入的控件类型来分别判断,选择编辑内容或者点击哪个对象 谢谢了,昨天琢磨明白了其在SUB过程中的作用了
页:
[1]