Ready
此集合元素属性指示仿真器窗口是否已启动、已启用 API 和已连接。此属性会检查是否有所有三个属性。如果仿真器就绪,则值为 True;否则为 False。Ready 是布尔数据类型且为只读。以下示例展示了 Ready 属性。
Dim autECLConnList as Object
Set autECLConnList = CreateObject("ZIEWin.autECLConnList")
autECLConnList.Refresh
' This code segment checks to see if X is ready.
' The results are sent to a text box called Result.
If Not autECLConnList(1).Ready Then
Result.Text = "No"
Else
Result.Text = "Yes"
End If