以文本方式查看主题

-  Foxtable(狐表)  (http://foxtable.com/bbs/index.asp)
--  专家坐堂  (http://foxtable.com/bbs/list.asp?boardid=2)
----  14开发版BUG(3.8版)  (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=47638)

--  作者:unverse
--  发布时间:2014/3/14 0:28:00
--  14开发版BUG(3.8版)
1、按钮风格设置成OFFICE2010风格,重新打开项目,全部变成standered custom
2、按钮风格设置成OFFICE2010风格,如果将按钮文字设置其他颜色,则变成standered custom,OFFICE风格不能修改字体颜色吗?

--  作者:blackzhu
--  发布时间:2014/3/14 8:03:00
--  
这是一个bug,你在窗口事件执行一段代码吧:

  For Each c As WinForm.Control In e.form.Controls
            If TypeOf c Is WinForm.Button Then \'判断控件是否是按钮
                Dim t As WinForm.Button = c 
                t.FlatStyle = FlatStyle.Standard  按钮类型
                t.VisualStyle = 5  \'风格可变从1开始
            End If
        Next
[此贴子已经被作者于2014-3-14 8:03:12编辑过]