📄 userinput.frm
字号:
VERSION 5.00
Begin VB.Form Form1
Caption = "Form1"
ClientHeight = 2025
ClientLeft = 60
ClientTop = 345
ClientWidth = 4680
LinkTopic = "Form1"
ScaleHeight = 2025
ScaleWidth = 4680
StartUpPosition = 3 'Windows Default
Begin VB.Label Label2
Height = 495
Left = 480
TabIndex = 1
Top = 1200
Width = 3855
End
Begin VB.Label Label1
Height = 495
Left = 480
TabIndex = 0
Top = 240
Width = 3855
End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Form_Load()
Port1 = 888
result = InputBox("Please enter a number between 0 and 255")
Out Port1, result
Label1.Caption = "Number is " & result
Label2.Caption = "Hex number is " & Hex(result)
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -