?? conv.frm
字號:
VERSION 5.00
Begin VB.Form Form5
BorderStyle = 1 'Fixed Single
Caption = "十六進制轉換"
ClientHeight = 780
ClientLeft = 4320
ClientTop = 4065
ClientWidth = 3525
LinkTopic = "Form5"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 780
ScaleWidth = 3525
Begin VB.TextBox Text2
Height = 270
Left = 1200
Locked = -1 'True
TabIndex = 5
Top = 465
Width = 1335
End
Begin VB.CommandButton Command2
Caption = "關閉"
Height = 255
Left = 2640
TabIndex = 3
Top = 480
Width = 855
End
Begin VB.CommandButton Command1
Caption = "轉換"
Enabled = 0 'False
Height = 255
Left = 2640
TabIndex = 2
Top = 120
Width = 855
End
Begin VB.TextBox Text1
Height = 270
Left = 1200
TabIndex = 0
Top = 120
Width = 1335
End
Begin VB.Label Label2
Caption = "十進制數:"
Height = 255
Left = 120
TabIndex = 4
Top = 120
Width = 975
End
Begin VB.Label Label1
Caption = "十六進制數:"
Height = 255
Left = 120
TabIndex = 1
Top = 480
Width = 1215
End
End
Attribute VB_Name = "Form5"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Private Sub Command1_Click()
Text2 = mst(Text1)
End Sub
Private Sub Command2_Click()
Me.Hide
End Sub
Private Sub Text1_Change()
If Text1 <> "" Then Command1.Enabled = True Else Command1.Enabled = False
End Sub
Private Sub Text1_KeyPress(KeyAscii As Integer)
Dim a As String
a = Chr$(KeyAscii)
If KeyAscii = 8 Or KeyAscii = 32 Then Exit Sub
If a Like "#" Then Exit Sub
KeyAscii = 0
End Sub
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -