?? form4.frm
字號:
VERSION 5.00
Begin VB.Form Form1
Caption = "Form1"
ClientHeight = 3420
ClientLeft = 120
ClientTop = 420
ClientWidth = 6075
LinkTopic = "Form1"
ScaleHeight = 3420
ScaleWidth = 6075
StartUpPosition = 3 'Windows Default
Begin VB.CommandButton Command9
Caption = "&Apply"
Height = 375
Left = 3960
TabIndex = 2
Top = 2400
Width = 1335
End
Begin VB.CommandButton Command8
Caption = "Cancel"
Height = 375
Left = 2040
TabIndex = 1
Top = 2400
Width = 1455
End
Begin VB.CommandButton Command7
Cancel = -1 'True
Caption = "OK"
CausesValidation= 0 'False
Default = -1 'True
Height = 375
Left = 360
TabIndex = 0
Top = 2400
Width = 1215
End
Begin VB.CommandButton Command6
Caption = "-"
Height = 375
Left = 5280
TabIndex = 8
Top = 1080
Width = 375
End
Begin VB.CommandButton Command5
Caption = "+"
Height = 375
Left = 5280
TabIndex = 7
Top = 480
Width = 375
End
Begin VB.CommandButton Command4
Caption = "-"
Height = 375
Left = 3360
TabIndex = 6
Top = 1080
Width = 375
End
Begin VB.CommandButton Command3
Caption = "+"
Height = 375
Left = 3360
TabIndex = 5
Top = 480
Width = 375
End
Begin VB.CommandButton Command2
Caption = "-"
Height = 375
Left = 1440
TabIndex = 4
Top = 1080
Width = 375
End
Begin VB.CommandButton Command1
Caption = "+"
Height = 375
Left = 1440
TabIndex = 3
Top = 480
Width = 375
End
Begin VB.Label Label3
Alignment = 2 'Center
Caption = "42"
BeginProperty Font
Name = "MS Sans Serif"
Size = 18
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 4080
TabIndex = 11
Top = 720
Width = 975
End
Begin VB.Label Label2
Alignment = 2 'Center
Caption = "14"
BeginProperty Font
Name = "MS Sans Serif"
Size = 18
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 2160
TabIndex = 10
Top = 720
Width = 975
End
Begin VB.Label Label1
Alignment = 2 'Center
Caption = "23"
BeginProperty Font
Name = "MS Sans Serif"
Size = 18
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 360
TabIndex = 9
Top = 720
Width = 855
End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
If Val(Label1.Caption) <= 23 Then
Label1.Caption = Val(Label1.Caption) + 1
End If
End Sub
Private Sub Command2_Click()
If Val(Label1.Caption) >= 2 Then
Label1.Caption = Val(Label1.Caption) - 1
End If
End Sub
Private Sub Command3_Click()
If Val(Label2.Caption) <= 58 Then
Label2.Caption = Val(Label2.Caption) + 1
End If
End Sub
Private Sub Command4_Click()
If Val(Label2.Caption) >= 2 Then
Label2.Caption = Val(Label2.Caption) - 1
End If
End Sub
Private Sub Command5_Click()
If Val(Label3.Caption) <= 58 Then
Label3.Caption = Val(Label3.Caption) + 1
End If
End Sub
Private Sub Command6_Click()
If Val(Label3.Caption) >= 2 Then
Label3.Caption = Val(Label3.Caption) - 1
End If
End Sub
Private Sub Command7_Click()
End
End Sub
Private Sub Command8_Click()
End
End Sub
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -