初学者一个不懂的问题!
这是我编的一个程序:Private Sub Command1_Click()
Dim a As String, textW As Interer, textH As Interer
FontName = "隶书"
FontColor = 60
ForeColor = QBColor(15)
BackClolor = QBColor(8)
a = "你好"
textW = TextWidth(a) / 2
textH = TextHeight(a) - Command1.Height / 2
CurrentX = ScaleWidth / 2 - textW
CurrentY = ScaleHeight / 2 - textH
End Sub
错误是:
编译错误:用户定义类型未定义