frminputbox.frm
来自「电梯检测系统是对电梯性能进行检测的系统。是一个用来学习的程序。」· FRM 代码 · 共 116 行
FRM
116 行
VERSION 5.00
Object = "{3B7C8863-D78F-101B-B9B5-04021C009402}#1.2#0"; "RICHTX32.OCX"
Begin VB.Form FrmInputBox
BackColor = &H00C0C0C0&
BorderStyle = 1 'Fixed Single
Caption = "InputBox"
ClientHeight = 4260
ClientLeft = 45
ClientTop = 330
ClientWidth = 7095
LinkTopic = "Form1"
LockControls = -1 'True
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 4260
ScaleWidth = 7095
StartUpPosition = 3 '窗口缺省
Begin VB.CommandButton CancelCmd
Caption = "Cancel"
BeginProperty Font
Name = "Arial"
Size = 15.75
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 5040
TabIndex = 3
Top = 600
Width = 1935
End
Begin VB.CommandButton EnterCmd
Caption = "Enter"
BeginProperty Font
Name = "Arial"
Size = 15.75
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 5040
TabIndex = 2
Top = 120
Width = 1935
End
Begin RichTextLib.RichTextBox Text1
Height = 2775
Left = 120
TabIndex = 0
Top = 1320
Width = 6855
_ExtentX = 12091
_ExtentY = 4895
_Version = 393217
TextRTF = $"FrmInputBox.frx":0000
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "Arial"
Size = 15.75
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
End
Begin VB.Label Prompt
BeginProperty Font
Name = "Arial"
Size = 10.5
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 975
Left = 120
TabIndex = 1
Top = 120
Width = 4695
End
End
Attribute VB_Name = "FrmInputBox"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub promt_Click()
End Sub
Private Sub CancelCmd_Click()
FillComp = True
Unload Me
End Sub
Private Sub EnterCmd_Click()
FillComp = True
FillSucc = True
InputStr = Text1.Text
Unload Me
End Sub
Private Sub Form_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
FillComp = True
End Sub
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?