frminput.frm
来自「是《VISUAL BASIC编程》(英文原版 提高版) 的8个习题 已完成 供大」· FRM 代码 · 共 61 行
FRM
61 行
VERSION 5.00
Begin VB.Form frmInput
Caption = "Input"
ClientHeight = 3030
ClientLeft = 60
ClientTop = 345
ClientWidth = 5475
LinkTopic = "Form2"
ScaleHeight = 3030
ScaleWidth = 5475
StartUpPosition = 3 '窗口缺省
Begin VB.TextBox txtSalename
Height = 495
Left = 2760
TabIndex = 2
Top = 720
Width = 2295
End
Begin VB.CommandButton cmdOk
Caption = "&Ok"
Height = 495
Left = 4080
TabIndex = 0
Top = 1680
Width = 1215
End
Begin VB.Label lblSalename
AutoSize = -1 'True
Caption = "Salesperson's name:"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 240
Left = 240
TabIndex = 1
Top = 840
Width = 2280
End
End
Attribute VB_Name = "frmInput"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub cmdOk_Click()
frmOrder.Show
Unload Me
End Sub
Private Sub Form_Load()
frmInput.Top = (Screen.Height - frmInput.Height) / 2
frmInput.Left = (Screen.Width - frmInput.Width) / 2
End Sub
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?