第一种:
With wb.AddInputGroup("form1","ipg1","增加客户")
.AddInput("xm","姓名","text")
.AddInput("nl","年龄","number")
.AddSwitch("hy","会员",True)
dim w as object =.AddSwitch("vip","VIP客户")
With w
.Value = "true"
.Enabld = False
End With
End With
第二种:
With wb.AddInputGroup("form1","ipg1","增加客户")
.AddInput("xm","姓名","text")
.AddInput("nl","年龄","number")
.AddSwitch("hy","会员",True)
dim w as object =.AddSwitch("vip","VIP客户")
w.Value = "true"
w.Enabld = False
End With
第三种
With wb.AddInputGroup("form1","ipg1","增加客户")
.AddInput("xm","姓名","text")
.AddInput("nl","年龄","number")
.AddSwitch("hy","会员",True)
.AddSwitch("vip","VIP客户").Enabld = False
End With
第一种和第二种都出现错误
.NET Framework 版本:2.0.50727.8789
Foxtable 版本:2

018.10.9.1
详细错误信息:
调用的目标发生了异常。
未找到类型“wSwitch”的公共成员“Enabld”。
第三中正确但是没有办法再添加Value属性了