例4.frm
来自「在VB5环境下开发的VB程序集,窗体控件源代码.」· FRM 代码 · 共 85 行
FRM
85 行
VERSION 5.00
Begin VB.Form FRM6_5_4
Caption = "Form1"
ClientHeight = 3015
ClientLeft = 60
ClientTop = 450
ClientWidth = 8355
BeginProperty Font
Name = "宋体"
Size = 14.25
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
LinkTopic = "Form1"
ScaleHeight = 3015
ScaleWidth = 8355
StartUpPosition = 3 '窗口缺省
Begin VB.PictureBox Picture1
Height = 2295
Left = 6120
ScaleHeight = 2235
ScaleWidth = 1875
TabIndex = 4
Top = 240
Width = 1935
End
Begin VB.TextBox Text1
Height = 1455
Left = 240
TabIndex = 3
Top = 1080
Width = 3495
End
Begin VB.CommandButton Command2
Caption = "显 示"
Height = 615
Left = 4080
TabIndex = 2
Top = 1440
Width = 1695
End
Begin VB.CommandButton Command1
Caption = "存入数组"
Height = 615
Left = 4080
TabIndex = 1
Top = 240
Width = 1695
End
Begin VB.Label Label1
BackColor = &H0080FFFF&
BorderStyle = 1 'Fixed Single
Caption = "以"",""作为分隔符输入数据"
Height = 615
Left = 240
TabIndex = 0
Top = 240
Width = 3495
End
End
Attribute VB_Name = "FRM6_5_4"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Dim S
Private Sub Command1_Click()
S = Split(Text1, ",")
End Sub
Private Sub Command2_Click()
For I = 0 To UBound(S)
Picture1.Print S(I);
Next I
End Sub
Private Sub Form_Load()
FRM6_5_4.Show
Text1.SetFocus
End Sub
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?