⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 frmsort.frm

📁 短信平台管理系统是一个短信收发的平台,用户可以找一些代理的短信平台(IP),在系统里修改一些设置就可以进行短信的收发,有短信服务器的IP,服务器端口.系统还有一些常用用户的设置,包括客户资料,客户分类
💻 FRM
字号:
VERSION 5.00
Begin VB.Form frmSort 
   BorderStyle     =   4  'Fixed ToolWindow
   Caption         =   "排序"
   ClientHeight    =   2700
   ClientLeft      =   2880
   ClientTop       =   2295
   ClientWidth     =   4830
   LinkTopic       =   "Form1"
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   2700
   ScaleWidth      =   4830
   ShowInTaskbar   =   0   'False
   Begin VB.CommandButton cmdOK 
      Caption         =   "确认"
      Default         =   -1  'True
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   10.5
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   360
      Left            =   1920
      TabIndex        =   3
      Tag             =   "OK"
      Top             =   2160
      Width           =   1140
   End
   Begin VB.CommandButton cmdCancel 
      Cancel          =   -1  'True
      Caption         =   "取消"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   10.5
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   360
      Left            =   3525
      TabIndex        =   4
      Tag             =   "Cancel"
      Top             =   2160
      Width           =   1140
   End
   Begin VB.Frame Frame1 
      Height          =   1695
      Left            =   120
      TabIndex        =   5
      Top             =   120
      Width           =   4575
      Begin VB.ComboBox ComboKey 
         Height          =   315
         Left            =   360
         TabIndex        =   7
         Text            =   "Combo2"
         Top             =   1800
         Width           =   390
      End
      Begin VB.ComboBox ComboColName 
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   11.25
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   345
         Left            =   1320
         Style           =   2  'Dropdown List
         TabIndex        =   0
         Top             =   315
         Width           =   3135
      End
      Begin VB.OptionButton Option1 
         Caption         =   "降序"
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   11.25
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   375
         Index           =   1
         Left            =   2760
         TabIndex        =   2
         Top             =   1080
         Width           =   1455
      End
      Begin VB.OptionButton Option1 
         Caption         =   "升序"
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   11.25
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   375
         Index           =   0
         Left            =   960
         TabIndex        =   1
         Top             =   1080
         Value           =   -1  'True
         Width           =   1455
      End
      Begin VB.Label Label1 
         Caption         =   "列名称:"
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   11.25
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   255
         Index           =   0
         Left            =   120
         TabIndex        =   6
         Top             =   360
         Width           =   1095
      End
   End
End
Attribute VB_Name = "frmSort"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Public sps As spListHeaders
Public ok As Boolean
Public Strsort As String

Private Sub Cmdcancel_Click()
    Unload Me
End Sub

Private Sub CmdOk_Click()
    Dim strx As String
    ok = True
    If Me.ComboColName = "" Then
        Me.ComboColName.ListIndex = 1
    End If
    Me.ComboKey.ListIndex = Me.ComboColName.ListIndex
    strx = IIf(Me.Option1(0).value, " ASC ", " DESC")
    Strsort = Me.ComboKey & strx
    Unload Me
End Sub

Private Sub Form_Load()
    ok = False
    Dim i As Long
    For i = 1 To sps.Count
        Me.ComboColName.AddItem sps(i).caption
        Me.ComboKey.AddItem sps(i).key
    Next
End Sub

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -