以文本方式查看主题

-  Foxtable(狐表)  (http://www.foxtable.com/bbs/index.asp)
--  专家坐堂  (http://www.foxtable.com/bbs/list.asp?boardid=2)
----  未找到公共成员direction  (http://www.foxtable.com/bbs/dispbbs.asp?boardid=2&id=58884)

--  作者:jiangxun
--  发布时间:2014/10/25 21:10:00
--  未找到公共成员direction

Select Case e.Sender.Gettype.Name
    Case "Line"
        ctl = e.Form.CreateControl("Test" & Format(Date.now,"ddhhmmss"), ControlTypeEnum.line)
        ctl.ThickNess = 20
        ctl.LineColor = Color.Red
        ctl.Direction = LineDirectionEnum.vertical
提示错误“未找到line的公共成员direction”

请求帮助


--  作者:jiangxun
--  发布时间:2014/10/26 0:10:00
--  

已解决,ctl。direction,写成ctl。ditection就行了,看来编程时字母写错了。算是个bug吧,估计也不好改了是吧。

谢谢