更改用户控件的字体
在ActiveX控件工程中有两个基本控件LABEL 与TEXT控件
本人最终想实现更改用户控件的FONT属性,能够同时控制LABEL与TEXT的FONT,当然包括字体、大小、等
请各位高手指点!
2014-01-02 16:28
2014-01-02 19:52
程序代码:
Private Sub Command1_Click()
With Label1
.FontBold = True
.FontItalic = True
.FontSize = 15
.FontName = "隶书"
End With
With Text1
.FontBold = True
.FontItalic = True
.FontSize = 15
.FontName = "隶书"
End With
End Sub
2014-01-03 09:09