Numeric
此属性会查询操作员信息区域,以确定光标位置处的字段是否为数字。Numeric 是布尔数据类型且为只读。下列示例展示了此属性。
DIM autECLOIA as Object
DIM autECLConnList as Object
Set autECLOIA = CreateObject("ZIEWin.autECLOIA")
Set autECLConnList = CreateObject("ZIEWin.autECLConnList")
' Initialize the connection
autECLConnList.Refresh
autECLOIA.SetConnectionByHandle(autECLConnList(1).Handle)
' Check if the cursor location is a numeric field
If autECLOIA.Numeric Then...