以文本方式查看主题 - Foxtable(狐表) (http://foxtable.com/bbs/index.asp) -- 专家坐堂 (http://foxtable.com/bbs/list.asp?boardid=2) ---- [求助]label添加控件字体颜色、背景颜色无效 (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=132547) |
-- 作者:sunion -- 发布时间:2019/3/24 20:04:00 -- [求助]label添加控件字体颜色、背景颜色无效 各位老师,按钮代码label添加控件字体颜色、背景颜色无效,不知道什么问题? Dim tx01 As WinForm.label tx01 = e.Form.CreateControl("label", ControlTypeEnum.label) tx01.text = "收单" tx01.ForeColor = Color.black tx01.BackColor = Color.blue tx01.Left = 20 tx01.Top = 3 tx01.autosize = True e.Form.Controls("panel7").AddControl(tx01)
|
-- 作者:有点甜 -- 发布时间:2019/3/24 22:57:00 -- 试试
Dim tx01 As WinForm.label tx01.Left = 20 |