📄 frmsort_b.frm
字号:
VERSION 5.00
Begin VB.Form frmSort_b
BackColor = &H00E0E0E0&
BorderStyle = 4 'Fixed ToolWindow
Caption = "Form1"
ClientHeight = 3435
ClientLeft = 45
ClientTop = 285
ClientWidth = 3750
LinkTopic = "Form1"
MaxButton = 0 'False
MDIChild = -1 'True
MinButton = 0 'False
ScaleHeight = 3435
ScaleWidth = 3750
ShowInTaskbar = 0 'False
Begin VB.Frame Fra
BackColor = &H00E0E0E0&
Caption = "Direction <- -> ?"
Enabled = 0 'False
Height = 735
Left = 240
TabIndex = 7
Top = 2520
Width = 3255
Begin VB.CommandButton Command1
BackColor = &H00E0E0E0&
Caption = "&Ascending"
Height = 255
Left = 240
Style = 1 'Graphical
TabIndex = 9
Top = 300
Width = 1095
End
Begin VB.CommandButton Command2
BackColor = &H00E0E0E0&
Caption = "&Descending"
Height = 255
Left = 1920
Style = 1 'Graphical
TabIndex = 8
Top = 300
Width = 1095
End
End
Begin VB.CheckBox Check1
Height = 255
Left = 0
TabIndex = 6
Top = 240
Visible = 0 'False
Width = 200
End
Begin VB.CheckBox Check2
Height = 255
Left = 0
TabIndex = 5
Top = 600
Visible = 0 'False
Width = 200
End
Begin VB.CheckBox Check3
Height = 255
Left = 0
TabIndex = 4
Top = 960
Visible = 0 'False
Width = 200
End
Begin VB.CheckBox Check4
Height = 255
Left = 0
TabIndex = 3
Top = 1320
Visible = 0 'False
Width = 200
End
Begin VB.CheckBox Check5
Height = 255
Left = 0
TabIndex = 2
Top = 1680
Visible = 0 'False
Width = 200
End
Begin VB.CheckBox test
Caption = "Check6"
Height = 255
Left = 2280
TabIndex = 1
Top = 360
Value = 1 'Checked
Visible = 0 'False
Width = 135
End
Begin VB.CheckBox Check6
Height = 255
Left = 0
TabIndex = 0
Top = 2040
Visible = 0 'False
Width = 200
End
Begin VB.Label Label1
Appearance = 0 'Flat
BackColor = &H00E0E0E0&
BorderStyle = 1 'Fixed Single
Caption = "By &Rank"
ForeColor = &H80000008&
Height = 255
Left = 240
MouseIcon = "frmSort_b.frx":0000
MousePointer = 99 'Custom
TabIndex = 15
Top = 240
Width = 1300
End
Begin VB.Line Line1
X1 = 1500
X2 = 2040
Y1 = 360
Y2 = 360
End
Begin VB.Label Label2
Appearance = 0 'Flat
BackColor = &H00E0E0E0&
BorderStyle = 1 'Fixed Single
Caption = "By &Name"
ForeColor = &H80000008&
Height = 255
Left = 240
MouseIcon = "frmSort_b.frx":030A
MousePointer = 99 'Custom
TabIndex = 14
Top = 600
Width = 1300
End
Begin VB.Label Label3
Appearance = 0 'Flat
BackColor = &H00E0E0E0&
BorderStyle = 1 'Fixed Single
Caption = "By &Surname"
ForeColor = &H80000008&
Height = 255
Left = 240
MouseIcon = "frmSort_b.frx":0614
MousePointer = 99 'Custom
TabIndex = 13
Top = 960
Width = 1300
End
Begin VB.Label Label4
Appearance = 0 'Flat
BackColor = &H00E0E0E0&
BorderStyle = 1 'Fixed Single
Caption = "By se&xe"
ForeColor = &H80000008&
Height = 255
Left = 240
MouseIcon = "frmSort_b.frx":091E
MousePointer = 99 'Custom
TabIndex = 12
Top = 1320
Width = 1300
End
Begin VB.Label Label5
Appearance = 0 'Flat
BackColor = &H00E0E0E0&
BorderStyle = 1 'Fixed Single
Caption = "By &Nationality"
ForeColor = &H80000008&
Height = 255
Left = 240
MouseIcon = "frmSort_b.frx":0C28
MousePointer = 99 'Custom
TabIndex = 11
Top = 1680
Width = 1300
End
Begin VB.Line Line3
X1 = 1500
X2 = 2040
Y1 = 720
Y2 = 720
End
Begin VB.Line Line4
X1 = 1500
X2 = 2040
Y1 = 1080
Y2 = 1080
End
Begin VB.Line Line5
X1 = 1500
X2 = 2040
Y1 = 1440
Y2 = 1440
End
Begin VB.Line Line6
X1 = 1500
X2 = 2040
Y1 = 1800
Y2 = 1800
End
Begin VB.Line Line2
X1 = 2040
X2 = 2040
Y1 = 360
Y2 = 2640
End
Begin VB.Label Label6
Appearance = 0 'Flat
BackColor = &H00E0E0E0&
BorderStyle = 1 'Fixed Single
Caption = "By S&ponsor"
ForeColor = &H80000008&
Height = 255
Left = 240
MouseIcon = "frmSort_b.frx":0F32
MousePointer = 99 'Custom
TabIndex = 10
Top = 2040
Width = 1300
End
Begin VB.Line Line7
X1 = 1500
X2 = 2040
Y1 = 2160
Y2 = 2160
End
End
Attribute VB_Name = "frmSort_b"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
Select Case test = 1
Case Check1 = 1
Show_all_player.grdOther.ColSel = 2
Show_all_player.grdOther.Col = 2
Show_all_player.grdOther.sort = flexSortNumericAscending
Case Check2 = 1
Show_all_player.grdOther.ColSel = 0
Show_all_player.grdOther.Col = 0
Show_all_player.grdOther.sort = flexSortStringAscending
Case Check3 = 1
Show_all_player.grdOther.ColSel = 1
Show_all_player.grdOther.Col = 1
Show_all_player.grdOther.sort = flexSortStringAscending
Case Check4 = 1
Show_all_player.grdOther.ColSel = 3
Show_all_player.grdOther.Col = 3
Show_all_player.grdOther.sort = flexSortStringAscending
Case Check5 = 1
Show_all_player.grdOther.ColSel = 5
Show_all_player.grdOther.Col = 5
Show_all_player.grdOther.sort = flexSortStringAscending
Case Check6 = 1
Show_all_player.grdOther.ColSel = 4
Show_all_player.grdOther.Col = 4
Show_all_player.grdOther.sort = flexSortStringAscending
End Select
End Sub
Private Sub Command1_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
Command1.FontBold = True
Command2.FontBold = False
End Sub
Private Sub Command2_Click()
Select Case test = 1
Case Check1 = 1
Show_all_player.grdOther.ColSel = 2
Show_all_player.grdOther.Col = 2
Show_all_player.grdOther.sort = flexSortNumericDescending
Case Check2 = 1
Show_all_player.grdOther.ColSel = 0
Show_all_player.grdOther.Col = 0
Show_all_player.grdOther.sort = flexSortStringDescending
Case Check3 = 1
Show_all_player.grdOther.ColSel = 1
Show_all_player.grdOther.Col = 1
Show_all_player.grdOther.sort = flexSortStringDescending
Case Check4 = 1
Show_all_player.grdOther.ColSel = 3
Show_all_player.grdOther.Col = 3
Show_all_player.grdOther.sort = flexSortStringDescending
Case Check5 = 1
Show_all_player.grdOther.ColSel = 5
Show_all_player.grdOther.Col = 5
Show_all_player.grdOther.sort = flexSortStringDescending
Case Check6 = 1
Show_all_player.grdOther.ColSel = 4
Show_all_player.grdOther.Col = 4
Show_all_player.grdOther.sort = flexSortStringDescending
End Select
End Sub
Private Sub Command2_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
Command1.FontBold = False
Command2.FontBold = True
End Sub
Private Sub Form_Load()
frmSort_b.Width = 3870
frmSort_b.Height = 3765
frmSort_b.Left = 9500
frmSort_b.Top = 6000
End Sub
Private Sub Form_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
Command1.FontBold = False
Command2.FontBold = False
label1.FontBold = False
Label2.FontBold = False
Label3.FontBold = False
Label4.FontBold = False
Label5.FontBold = False
Label6.FontBold = False
End Sub
Private Sub Fra_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
Command1.FontBold = False
Command2.FontBold = False
Label6.FontBold = False
End Sub
Private Sub Label1_Click()
Check1 = 1
Check2 = 0
Check3 = 0
Check4 = 0
Check5 = 0
Check6 = 0
Fra.Enabled = True
End Sub
Private Sub Label1_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
label1.FontBold = True
Label2.FontBold = False
End Sub
Private Sub Label2_Click()
Check1 = 0
Check2 = 1
Check3 = 0
Check4 = 0
Check5 = 0
Check6 = 0
Fra.Enabled = True
End Sub
Private Sub Label2_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
label1.FontBold = False
Label2.FontBold = True
Label3.FontBold = False
End Sub
Private Sub Label3_Click()
Check1 = 0
Check2 = 0
Check3 = 1
Check4 = 0
Check5 = 0
Check6 = 0
Fra.Enabled = True
End Sub
Private Sub Label3_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
Label2.FontBold = False
Label3.FontBold = True
Label4.FontBold = False
End Sub
Private Sub Label4_Click()
Check1 = 0
Check2 = 0
Check3 = 0
Check4 = 1
Check5 = 0
Check6 = 0
Fra.Enabled = True
End Sub
Private Sub Label4_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
Label3.FontBold = False
Label4.FontBold = True
Label5.FontBold = False
End Sub
Private Sub Label5_Click()
Check1 = 0
Check2 = 0
Check3 = 0
Check4 = 0
Check5 = 1
Check6 = 0
Fra.Enabled = True
End Sub
Private Sub Label5_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
Label4.FontBold = False
Label5.FontBold = True
Label6.FontBold = False
End Sub
Private Sub Label6_Click()
Check1 = 0
Check2 = 0
Check3 = 0
Check4 = 0
Check5 = 0
Check6 = 1
Fra.Enabled = True
End Sub
Private Sub Label6_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
Label5.FontBold = False
Label6.FontBold = True
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -