以文本方式查看主题

-  Foxtable(狐表)  (http://www.foxtable.com/bbs/index.asp)
--  专家坐堂  (http://www.foxtable.com/bbs/list.asp?boardid=2)
----  C1控件样式  (http://www.foxtable.com/bbs/dispbbs.asp?boardid=2&id=77918)

--  作者:cyl123
--  发布时间:2015/11/27 18:34:00
--  C1控件样式

\'C1控件防止打回
Public Sub C1DockingTab1_VisualStyleChanged(sender As Object, e As EventArgs)
        sender.TabStyle = C1.Win.C1Command.TabStyleEnum.Office2007
        sender.VisualStyle = C1.Win.C1Command.VisualStyle.Office2007Blue
        sender.VisualStyleBase = C1.Win.C1Command.VisualStyle.Office2007Blue
End Sub

如何将C1控件防止打回,用枚举代替?

e.Form.Controls("TabControl1").basecontrol.VisualStyle =4


 


--  作者:cyl123
--  发布时间:2015/11/27 18:54:00
--  
再求,C1控件对象浏览器
--  作者:大红袍
--  发布时间:2015/11/27 20:08:00
--  

TabControl1绑定VisualStyleChanged事件不就行了。

 

http://www.foxtable.com/bbs/dispbbs.asp?BoardID=2&ID=71797&skin=0