📄 welcome.frm
字号:
VERSION 5.00
Begin VB.Form frmWelcome
Caption = "Fig. 3.1: Printing Text on the Form"
ClientHeight = 3240
ClientLeft = 2805
ClientTop = 2010
ClientWidth = 4440
BeginProperty Font
Name = "MS Sans Serif"
Size = 12
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00000000&
LinkTopic = "Form1"
PaletteMode = 1 'UseZOrder
ScaleHeight = 3240
ScaleWidth = 4440
Begin VB.CommandButton cmdDisplay
BackColor = &H80000005&
Caption = "Print"
Height = 615
Left = 829
TabIndex = 0
Top = 2400
Width = 1335
End
Begin VB.CommandButton cmdExit
BackColor = &H80000005&
Caption = "Exit"
Height = 615
Left = 2276
TabIndex = 1
Top = 2400
Width = 1335
End
End
Attribute VB_Name = "frmWelcome"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub cmdDisplay_Click()
' Every time this button is clicked on, the message
' "Welcome to Visual Basic!" is printed on the form
Print "Welcome to Visual Basic!"
End Sub
Private Sub cmdExit_Click()
End ' Terminate program
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -