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

📄 frmother.frm

📁 TMS(小型票务管理VB+Access)
💻 FRM
📖 第 1 页 / 共 2 页
字号:
VERSION 5.00
Begin VB.Form frmOther 
   BackColor       =   &H00C0C0C0&
   BorderStyle     =   1  'Fixed Single
   Caption         =   "Find"
   ClientHeight    =   7980
   ClientLeft      =   45
   ClientTop       =   330
   ClientWidth     =   7965
   Icon            =   "frmOther.frx":0000
   LinkTopic       =   "Form1"
   LockControls    =   -1  'True
   MaxButton       =   0   'False
   MDIChild        =   -1  'True
   MinButton       =   0   'False
   ScaleHeight     =   7980
   ScaleWidth      =   7965
   Begin VB.TextBox Text2 
      BeginProperty DataFormat 
         Type            =   1
         Format          =   "0"
         HaveTrueFalseNull=   0
         FirstDayOfWeek  =   0
         FirstWeekOfYear =   0
         LCID            =   2055
         SubFormatType   =   1
      EndProperty
      Height          =   465
      Left            =   3270
      TabIndex        =   19
      Top             =   5400
      Visible         =   0   'False
      Width           =   2055
   End
   Begin VB.TextBox Text1 
      BeginProperty DataFormat 
         Type            =   1
         Format          =   "0"
         HaveTrueFalseNull=   0
         FirstDayOfWeek  =   0
         FirstWeekOfYear =   0
         LCID            =   2055
         SubFormatType   =   1
      EndProperty
      Height          =   465
      Left            =   360
      TabIndex        =   18
      Top             =   5400
      Visible         =   0   'False
      Width           =   2055
   End
   Begin VB.CommandButton fprevious 
      BackColor       =   &H00E0E0E0&
      Caption         =   "find &previous"
      Enabled         =   0   'False
      Height          =   375
      Left            =   5520
      Style           =   1  'Graphical
      TabIndex        =   17
      Top             =   600
      Width           =   1935
   End
   Begin VB.CommandButton fnext 
      BackColor       =   &H00E0E0E0&
      Caption         =   "&Find"
      Enabled         =   0   'False
      Height          =   375
      Left            =   5520
      Style           =   1  'Graphical
      TabIndex        =   16
      Top             =   1800
      Width           =   1935
   End
   Begin VB.Data DatStands 
      Caption         =   "Data1"
      Connect         =   "Access"
      DatabaseName    =   "tennis.mdb"
      DefaultCursorType=   0  'DefaultCursor
      DefaultType     =   2  'UseODBC
      Exclusive       =   0   'False
      Height          =   300
      Left            =   5760
      Options         =   0
      ReadOnly        =   0   'False
      RecordsetType   =   1  'Dynaset
      RecordSource    =   "Stands"
      Top             =   3000
      Visible         =   0   'False
      Width           =   1455
   End
   Begin VB.Data Datparticipant 
      Caption         =   "Data1"
      Connect         =   "Access"
      DatabaseName    =   "tennis.mdb"
      DefaultCursorType=   0  'DefaultCursor
      DefaultType     =   2  'UseODBC
      Exclusive       =   0   'False
      Height          =   345
      Left            =   5760
      Options         =   0
      ReadOnly        =   0   'False
      RecordsetType   =   1  'Dynaset
      RecordSource    =   "Participant"
      Top             =   3000
      Visible         =   0   'False
      Width           =   1455
   End
   Begin VB.CommandButton cancel 
      BackColor       =   &H00E0E0E0&
      Cancel          =   -1  'True
      Caption         =   "&Cancel"
      Height          =   375
      Left            =   5520
      Style           =   1  'Graphical
      TabIndex        =   5
      Top             =   1200
      Width           =   1935
   End
   Begin VB.TextBox text 
      BackColor       =   &H00FFFFFF&
      ForeColor       =   &H00000000&
      Height          =   465
      Left            =   360
      Locked          =   -1  'True
      TabIndex        =   4
      Top             =   5400
      Width           =   4965
   End
   Begin VB.Frame fraCrit 
      BackColor       =   &H00C0C0C0&
      Caption         =   "CRITERIA"
      Enabled         =   0   'False
      BeginProperty Font 
         Name            =   "MS Sans Serif"
         Size            =   8.25
         Charset         =   0
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H00000000&
      Height          =   795
      Left            =   375
      TabIndex        =   2
      Top             =   4320
      Width           =   4875
      Begin VB.OptionButton critere2 
         Height          =   255
         Left            =   2280
         TabIndex        =   11
         Top             =   360
         Width           =   1935
      End
      Begin VB.OptionButton critere1 
         Height          =   255
         Left            =   300
         TabIndex        =   10
         Top             =   360
         Width           =   1455
      End
   End
   Begin VB.Frame fraFor 
      BackColor       =   &H00C0C0C0&
      Caption         =   "FOR"
      Enabled         =   0   'False
      BeginProperty Font 
         Name            =   "MS Sans Serif"
         Size            =   8.25
         Charset         =   0
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H00000000&
      Height          =   2895
      Left            =   375
      TabIndex        =   1
      Top             =   1365
      Width           =   4905
      Begin VB.OptionButton Nom_play 
         Height          =   255
         Left            =   300
         TabIndex        =   15
         Top             =   360
         Width           =   1815
      End
      Begin VB.OptionButton prenom 
         Height          =   255
         Left            =   300
         TabIndex        =   14
         Top             =   720
         Width           =   1815
      End
      Begin VB.OptionButton sponsor 
         Caption         =   "Sponsor"
         Height          =   255
         Left            =   300
         TabIndex        =   9
         Top             =   2160
         Visible         =   0   'False
         Width           =   1815
      End
      Begin VB.OptionButton Pays 
         Caption         =   "Nationality"
         Height          =   255
         Left            =   300
         TabIndex        =   8
         Top             =   1800
         Visible         =   0   'False
         Width           =   1815
      End
      Begin VB.OptionButton Sexe 
         Caption         =   "Sexe"
         Height          =   255
         Left            =   300
         TabIndex        =   7
         Top             =   1440
         Visible         =   0   'False
         Width           =   1815
      End
      Begin VB.OptionButton rang 
         Caption         =   "Rank"
         Height          =   255
         Left            =   300
         TabIndex        =   6
         Top             =   1080
         Visible         =   0   'False
         Width           =   1815
      End
   End
   Begin VB.Frame fraMain 
      BackColor       =   &H00C0C0C0&
      Caption         =   "SEARCH"
      BeginProperty Font 
         Name            =   "MS Sans Serif"
         Size            =   8.25
         Charset         =   0
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H00000000&
      Height          =   735
      Left            =   360
      TabIndex        =   0
      Top             =   480
      Width           =   4905
      Begin VB.OptionButton optStands 
         Caption         =   "Stand"
         Height          =   255
         Left            =   2400
         TabIndex        =   13
         Top             =   360
         Width           =   1695
      End
      Begin VB.OptionButton optplayer 
         Caption         =   "Player"
         Height          =   255
         Left            =   240
         TabIndex        =   12
         Top             =   360
         Width           =   1695
      End
   End
   Begin VB.Label Label1 
      Alignment       =   2  'Center
      Caption         =   "AND"
      Height          =   465
      Left            =   2400
      TabIndex        =   20
      Top             =   5400
      Visible         =   0   'False
      Width           =   855
   End
   Begin VB.Image Image1 
      Height          =   465
      Left            =   6300
      Picture         =   "frmOther.frx":0442
      Stretch         =   -1  'True
      Top             =   2340
      Width           =   480
   End
   Begin VB.Shape Shape3 
      BorderColor     =   &H00808080&
      BorderWidth     =   5
      FillColor       =   &H00E0E0E0&
      Height          =   7515
      Left            =   240
      Top             =   240
      Width           =   7455
   End
   Begin VB.Shape Shape2 
      BorderColor     =   &H00000000&
      BorderWidth     =   5
      FillColor       =   &H00C0C0C0&
      Height          =   7665
      Left            =   160
      Top             =   160
      Width           =   7600
   End
   Begin VB.Label montrer 
      BackColor       =   &H00C0C0C0&
      BorderStyle     =   1  'Fixed Single
      BeginProperty Font 
         Name            =   "Arial"
         Size            =   14.25
         Charset         =   0
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H00000000&
      Height          =   1335
      Left            =   360
      TabIndex        =   3
      Top             =   6120
      Width           =   7200
   End
End
Attribute VB_Name = "frmOther"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Dim temp As Long
Private Sub CANCEL_Click()
  Unload Me
End Sub

Private Sub critere1_Click()
  text.Locked = False
  
  Text1.Visible = False
  Text2.Visible = False
  label1.Visible = False
  text.Visible = True
End Sub

Private Sub critere2_Click()
  text.Locked = False
  Text1.Visible = True
  Text2.Visible = True
  label1.Visible = True
  text.Visible = False
  fnext.Enabled = True
End Sub

Private Sub fnext_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
  fnext.FontBold = True
  CANCEL.FontBold = False
End Sub

Private Sub Form_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
  CANCEL.FontBold = False
  fnext.FontBold = False
  fprevious.FontBold = False
  If fnext.Caption = "find &next" Then
    fprevious.Enabled = True
  Else: fprevious.Enabled = False
  End If
End Sub

Private Sub fprevious_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
 fprevious.FontBold = True
 CANCEL.FontBold = False
End Sub

Private Sub Nom_play_Click()
  fraCrit.Enabled = True
  critere1.Caption = "="
  critere2.Caption = ""
  critere2.Enabled = False
  
  Text1.Visible = False
  Text2.Visible = False
  label1.Visible = False
  text.Visible = True
End Sub


Private Sub prenom_Click()
  fraCrit.Enabled = True
  critere1.Caption = "="
  critere2.Caption = ""
  critere2.Enabled = False
  
  Text1.Visible = False
  Text2.Visible = False
  label1.Visible = False
  text.Visible = True
End Sub
Private Sub rang_Click()
  fraCrit.Enabled = True
  critere1.Caption = "="
  critere2.Enabled = True
  critere2.Caption = "between"
  
  Text1.Visible = False
  Text2.Visible = False
  label1.Visible = False
  text.Visible = True
End Sub
Private Sub sexe_Click()
  fraCrit.Enabled = True
  critere1.Caption = "="
  critere2.Caption = ""
  critere2.Enabled = False
  
  Text1.Visible = False
  Text2.Visible = False
  label1.Visible = False
  text.Visible = True
End Sub
Private Sub pays_Click()
  fraCrit.Enabled = True
  critere1.Caption = "="
  critere2.Caption = ""
  critere2.Enabled = False
  
  Text1.Visible = False
  Text2.Visible = False
  label1.Visible = False
  text.Visible = True
End Sub
Private Sub sponsor_Click()
  fraCrit.Enabled = True
  critere1.Caption = "="
  critere2.Caption = ""
  critere2.Enabled = False
  
  Text1.Visible = False
  Text2.Visible = False
  label1.Visible = False
  text.Visible = True
End Sub
Private Sub optplayer_Click()
  fraFor.Enabled = True
  Nom_play.Caption = "Player's Name"
  prenom.Caption = "Player's Surname"
  rang.Visible = True
  Sexe.Visible = True

⌨️ 快捷键说明

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