不必用 API 函数。Option ExplicitPrivate Sub Form_Load()
Me.AutoRedraw = True
Me.FontSize = 20
Me.CurrentX = Me.Width \ 2 - Me.TextWidth("袁飞")
Me.CurrentY = Me.Height \ 2
Me.Print "袁飞你好!"Me.DrawMode = 2
Me.Line (0, 0)-(Me.Width \ 2, Me.Height), , BF
End Sub
Me.AutoRedraw = True
Me.FontSize = 20
Me.CurrentX = Me.Width \ 2 - Me.TextWidth("袁飞")
Me.CurrentY = Me.Height \ 2
Me.Print "袁飞你好!"Me.DrawMode = 2
Me.Line (0, 0)-(Me.Width \ 2, Me.Height), , BF
End Sub
解决方案 »
- VB中在语句前加#是什么意思?
- 请问这种安装界面是用什么工具打包的呢??
- 奇怪的问题(insert into) 请高手指教
- winsock中,怎样实现客户端关闭时,服务端照常发数?
- 如何使用data控件
- 如何在Datagrid中取得当前记录的某字段值?
- 谁有<<VB插件开发人员指南>>的光盘源码.
- 帮忙??
- 该死的installshield!!!!救命啊!!!
- 参加软件人才大赛,蠃取百万大奖!!
- 我下载了几个rar文件有*.rar\*.r01\*.r02等等,可是这个网站没有提供合并文件,忘了怎么合并了,谁知道快告诉我。copy *.rar+*.r01不管用
- 请问:如何使用VB帮助文件(扩展名是.chm)?
Me.AutoRedraw = True
Me.ForeColor = vbBlue
Me.BackColor = vbWhite
Me.FontSize = 20
Me.CurrentX = Me.Width \ 2 - Me.TextWidth("袁飞")
Me.CurrentY = Me.Height \ 2
Me.Print "袁飞你好!"Me.DrawMode = 10
Me.Line (0, 0)-(Me.Width \ 2, Me.Height), , BF
End Sub