form1.frm
来自「自制的写字板」· FRM 代码 · 共 40 行
FRM
40 行
VERSION 5.00
Begin VB.Form Form1
BackColor = &H80000013&
Caption = "Form1"
ClientHeight = 5055
ClientLeft = 60
ClientTop = 450
ClientWidth = 8415
LinkTopic = "Form1"
ScaleHeight = 5055
ScaleWidth = 8415
StartUpPosition = 3 'Windows Default
Begin VB.CommandButton Command1
Caption = "写入txt文件"
Height = 495
Left = 3480
TabIndex = 1
Top = 2640
Width = 1335
End
Begin VB.TextBox Text1
BackColor = &H80000013&
Height = 375
Left = 2160
TabIndex = 0
Top = 1320
Width = 4095
End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
Open "App.Path & aaa.txt" For Output As #1
Print #1, Text1.Text
Close #1
End Sub
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?