Dim lbl2 As WinForm.CheckBox
lbl2 = e.Form.CreateControl("lable1", ControlTypeEnum.CheckBox)
lbl2 .Text = "Foxtable"
lbl2.Left = 90
lbl2 .Top = 10
上面的只有定位坐标,如何设置控件的尺寸。
lbl2 .TextImageRelation = TextImageRelation.ImageAboveText
lbl2.CheckAlign = ContentAlignment.BottomCenter
lbl2 .CheckAlign = ContentAlignment.TopCenter
pnl_body.AddControl(lbl2)
在界面中一个按钮的click下写下面这个代码为什么标签没有变化也没有报错?
e.Form .Controls ("Label8").width=100
谢谢!