form1.frm
来自「Visual Basic程序设计视频教程」· FRM 代码 · 共 36 行
FRM
36 行
VERSION 5.00
Begin VB.Form Form1
AutoRedraw = -1 'True
Caption = "Form1"
ClientHeight = 1725
ClientLeft = 60
ClientTop = 360
ClientWidth = 3435
LinkTopic = "Form1"
ScaleHeight = 1725
ScaleWidth = 3435
StartUpPosition = 3 '窗口缺省
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Form_Load()
Dim strA As String
Dim strB As String * 80
strA = "Windows"
strB = "Windows"
Print "第一次:"
Print "strA的长度为" & Len(strA)
Print "strB的长度为" & Len(strB)
Print
strA = "Windows 2000"
strB = "Windows 2000"
Print "第二次:"
Print "strA的长度为" & Len(strA)
Print "strB的长度为" & Len(strB)
End Sub
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?