vb里用一个单选按钮怎么使文本框中字体变为楷体

如题所述

第1个回答  2010-03-23
Private Sub Option1_Click()
Text1.FontName = "楷体_GB2312"
End Sub本回答被网友采纳
第2个回答  2019-10-19
name
=
"楷体_gb2312"在窗体中放入一个文本框,三个option(要组成数组)
private
sub
option1_click(index
as
integer)
if
index
=
0
then
text1.font.name
=
"黑体"
if
index
=
2
then
text1.font.name
=
"宋体"
if
index
=
1
then
text1.font
第3个回答  2010-03-22
text1.font.name="楷体"

text1.fontname="楷体"