VB中txtedit这个要变量定义的么?还有commondialog控件怎么使用呢?
OptionExplicitDimArraynumAsIntegerPublicFilenameAsStringPrivateSubForm_Load()ChDirApp...
Option Explicit
Dim Arraynum As Integer
Public Filename As String
Private Sub Form_Load()
ChDir App.Path
ChDrive App.Path
txtedit.Move 0, 0
Filename = "Untitled"
Top = Screen.Height / 2 - Height / 2
Left = Screen.Width / 2 - Width / 2
End Sub
运行的时候提示txtedit变量未定义,请问这是什么情况? 展开
Dim Arraynum As Integer
Public Filename As String
Private Sub Form_Load()
ChDir App.Path
ChDrive App.Path
txtedit.Move 0, 0
Filename = "Untitled"
Top = Screen.Height / 2 - Height / 2
Left = Screen.Width / 2 - Width / 2
End Sub
运行的时候提示txtedit变量未定义,请问这是什么情况? 展开
若以下回答无法解决问题,邀请你更新回答
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询