?? frm_color.frm
字號:
VERSION 5.00
Begin VB.Form frm_color
Caption = "調(diào)色板"
ClientHeight = 4125
ClientLeft = 60
ClientTop = 345
ClientWidth = 6090
Icon = "frm_color.frx":0000
LinkTopic = "Form1"
MaxButton = 0 'False
ScaleHeight = 4125
ScaleWidth = 6090
StartUpPosition = 3 '窗口缺省
Begin VB.CommandButton cmd_ok
Caption = "取 消"
Height = 540
Index = 1
Left = 3225
TabIndex = 29
Top = 2895
Width = 1125
End
Begin VB.CommandButton cmd_ok
Caption = "確 定"
Height = 540
Index = 0
Left = 1485
TabIndex = 28
Top = 2925
Width = 1125
End
Begin VB.PictureBox Picture2
Height = 900
Left = 1095
ScaleHeight = 840
ScaleWidth = 3585
TabIndex = 27
Top = 1695
Width = 3645
End
Begin VB.PictureBox Picture1
Height = 300
Index = 26
Left = 5130
ScaleHeight = 240
ScaleWidth = 450
TabIndex = 26
Top = 1230
Width = 510
End
Begin VB.PictureBox Picture1
Height = 300
Index = 25
Left = 4515
ScaleHeight = 240
ScaleWidth = 450
TabIndex = 25
Top = 1230
Width = 510
End
Begin VB.PictureBox Picture1
Height = 300
Index = 24
Left = 3885
ScaleHeight = 240
ScaleWidth = 450
TabIndex = 24
Top = 1230
Width = 510
End
Begin VB.PictureBox Picture1
Height = 300
Index = 23
Left = 3315
ScaleHeight = 240
ScaleWidth = 450
TabIndex = 23
Top = 1230
Width = 510
End
Begin VB.PictureBox Picture1
Height = 300
Index = 22
Left = 2700
ScaleHeight = 240
ScaleWidth = 450
TabIndex = 22
Top = 1230
Width = 510
End
Begin VB.PictureBox Picture1
Height = 300
Index = 21
Left = 2100
ScaleHeight = 240
ScaleWidth = 450
TabIndex = 21
Top = 1230
Width = 510
End
Begin VB.PictureBox Picture1
Height = 300
Index = 20
Left = 1515
ScaleHeight = 240
ScaleWidth = 450
TabIndex = 20
Top = 1230
Width = 510
End
Begin VB.PictureBox Picture1
Height = 300
Index = 19
Left = 915
ScaleHeight = 240
ScaleWidth = 450
TabIndex = 19
Top = 1230
Width = 510
End
Begin VB.PictureBox Picture1
Height = 300
Index = 18
Left = 315
ScaleHeight = 240
ScaleWidth = 450
TabIndex = 18
Top = 1230
Width = 510
End
Begin VB.PictureBox Picture1
Height = 300
Index = 17
Left = 5130
ScaleHeight = 240
ScaleWidth = 450
TabIndex = 17
Top = 750
Width = 510
End
Begin VB.PictureBox Picture1
Height = 300
Index = 16
Left = 4500
ScaleHeight = 240
ScaleWidth = 450
TabIndex = 16
Top = 750
Width = 510
End
Begin VB.PictureBox Picture1
Height = 300
Index = 15
Left = 3900
ScaleHeight = 240
ScaleWidth = 450
TabIndex = 15
Top = 750
Width = 510
End
Begin VB.PictureBox Picture1
Height = 300
Index = 14
Left = 3315
ScaleHeight = 240
ScaleWidth = 450
TabIndex = 14
Top = 750
Width = 510
End
Begin VB.PictureBox Picture1
Height = 300
Index = 13
Left = 2700
ScaleHeight = 240
ScaleWidth = 450
TabIndex = 13
Top = 750
Width = 510
End
Begin VB.PictureBox Picture1
Height = 300
Index = 12
Left = 2100
ScaleHeight = 240
ScaleWidth = 450
TabIndex = 12
Top = 750
Width = 510
End
Begin VB.PictureBox Picture1
Height = 300
Index = 11
Left = 1515
ScaleHeight = 240
ScaleWidth = 450
TabIndex = 11
Top = 750
Width = 510
End
Begin VB.PictureBox Picture1
Height = 300
Index = 10
Left = 915
ScaleHeight = 240
ScaleWidth = 450
TabIndex = 10
Top = 750
Width = 510
End
Begin VB.PictureBox Picture1
Height = 300
Index = 9
Left = 315
ScaleHeight = 240
ScaleWidth = 450
TabIndex = 9
Top = 750
Width = 510
End
Begin VB.PictureBox Picture1
Height = 300
Index = 8
Left = 5130
ScaleHeight = 240
ScaleWidth = 450
TabIndex = 8
Top = 255
Width = 510
End
Begin VB.PictureBox Picture1
Height = 300
Index = 7
Left = 4500
ScaleHeight = 240
ScaleWidth = 450
TabIndex = 7
Top = 255
Width = 510
End
Begin VB.PictureBox Picture1
Height = 300
Index = 6
Left = 3900
ScaleHeight = 240
ScaleWidth = 450
TabIndex = 6
Top = 255
Width = 510
End
Begin VB.PictureBox Picture1
Height = 300
Index = 5
Left = 3315
ScaleHeight = 240
ScaleWidth = 450
TabIndex = 5
Top = 255
Width = 510
End
Begin VB.PictureBox Picture1
Height = 300
Index = 4
Left = 2700
ScaleHeight = 240
ScaleWidth = 450
TabIndex = 4
Top = 255
Width = 510
End
Begin VB.PictureBox Picture1
Height = 300
Index = 3
Left = 2100
ScaleHeight = 240
ScaleWidth = 450
TabIndex = 3
Top = 255
Width = 510
End
Begin VB.PictureBox Picture1
Height = 300
Index = 2
Left = 1515
ScaleHeight = 240
ScaleWidth = 450
TabIndex = 2
Top = 255
Width = 510
End
Begin VB.PictureBox Picture1
Height = 300
Index = 1
Left = 915
ScaleHeight = 240
ScaleWidth = 450
TabIndex = 1
Top = 255
Width = 510
End
Begin VB.PictureBox Picture1
Height = 300
Index = 0
Left = 315
ScaleHeight = 240
ScaleWidth = 450
TabIndex = 0
Top = 255
Width = 510
End
End
Attribute VB_Name = "frm_color"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Public cl As Long
Private Sub cmd_ok_Click(Index As Integer)
Select Case Index
Case 0
cl = Picture2.BackColor
Unload Me
Case 1
cl = &H8000000F
Unload Me
End Select
End Sub
Private Sub Form_Load()
Dim i As Integer
Dim j As Integer
Do While i < 27
Picture1(i).BackColor = RGB((i / 9) * 127, (j Mod 3) * 127, (i Mod 3) * 127)
j = j + 1
If j > 3 Then
j = 0
End If
i = i + 1
Loop
End Sub
Private Sub Picture1_Click(Index As Integer)
Picture2.BackColor = Picture1(Index).BackColor
End Sub
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -