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

📄 frmoptions.frm

📁 This project is developed for school management system in vb and sql server 2000. All source code in
💻 FRM
字号:
VERSION 5.00
Object = "{BDC217C8-ED16-11CD-956C-0000C04E4C0A}#1.1#0"; "TABCTL32.OCX"
Object = "{C932BA88-4374-101B-A56C-00AA003668DC}#1.1#0"; "MSMASK32.OCX"
Begin VB.Form frmOptions 
   AutoRedraw      =   -1  'True
   BackColor       =   &H80000004&
   Caption         =   "Options"
   ClientHeight    =   5250
   ClientLeft      =   2760
   ClientTop       =   2340
   ClientWidth     =   6795
   BeginProperty Font 
      Name            =   "Tahoma"
      Size            =   8.25
      Charset         =   0
      Weight          =   400
      Underline       =   0   'False
      Italic          =   0   'False
      Strikethrough   =   0   'False
   EndProperty
   Icon            =   "frmOptions.frx":0000
   LinkTopic       =   "Form1"
   MDIChild        =   -1  'True
   ScaleHeight     =   8490
   ScaleWidth      =   11880
   WindowState     =   2  'Maximized
   Begin VB.PictureBox Picture3 
      Height          =   1575
      Left            =   -120
      Picture         =   "frmOptions.frx":000C
      ScaleHeight     =   1515
      ScaleWidth      =   12060
      TabIndex        =   15
      Top             =   -120
      Width           =   12120
      Begin VB.Label Label4 
         AutoSize        =   -1  'True
         BackStyle       =   0  'Transparent
         Caption         =   "Students Session Form"
         BeginProperty Font 
            Name            =   "Verdana"
            Size            =   24
            Charset         =   0
            Weight          =   700
            Underline       =   0   'False
            Italic          =   -1  'True
            Strikethrough   =   0   'False
         EndProperty
         ForeColor       =   &H80000006&
         Height          =   570
         Left            =   2760
         TabIndex        =   16
         Top             =   360
         Width           =   6210
      End
   End
   Begin VB.PictureBox Picture1 
      Appearance      =   0  'Flat
      BackColor       =   &H80000004&
      ForeColor       =   &H80000008&
      Height          =   525
      Left            =   2880
      ScaleHeight     =   495
      ScaleWidth      =   3930
      TabIndex        =   0
      Top             =   6240
      Width           =   3960
      Begin VB.CommandButton cmdHelp 
         Caption         =   "&Help"
         Height          =   315
         Left            =   2640
         TabIndex        =   3
         Top             =   90
         Width           =   1185
      End
      Begin VB.CommandButton cmdCancel 
         Caption         =   "Cancel"
         Height          =   315
         Left            =   1365
         TabIndex        =   2
         Top             =   90
         Width           =   1185
      End
      Begin VB.CommandButton cmdOK 
         Caption         =   "&OK"
         Height          =   315
         Left            =   90
         TabIndex        =   1
         Top             =   90
         Width           =   1185
      End
   End
   Begin TabDlg.SSTab ST 
      Height          =   4365
      Left            =   1680
      TabIndex        =   4
      Top             =   1800
      Width           =   9255
      _ExtentX        =   16325
      _ExtentY        =   7699
      _Version        =   393216
      Style           =   1
      Tabs            =   1
      TabsPerRow      =   7
      TabHeight       =   520
      BackColor       =   -2147483644
      ForeColor       =   -2147483640
      BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
         Name            =   "Tahoma"
         Size            =   8.25
         Charset         =   0
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      TabCaption(0)   =   "&General"
      TabPicture(0)   =   "frmOptions.frx":444CE
      Tab(0).ControlEnabled=   -1  'True
      Tab(0).Control(0)=   "Frame2"
      Tab(0).Control(0).Enabled=   0   'False
      Tab(0).Control(1)=   "Frame1"
      Tab(0).Control(1).Enabled=   0   'False
      Tab(0).ControlCount=   2
      Begin VB.Frame Frame1 
         BackColor       =   &H80000004&
         Caption         =   "&Session:"
         ForeColor       =   &H80000006&
         Height          =   1155
         Left            =   120
         TabIndex        =   11
         Top             =   720
         Width           =   6285
         Begin MSMask.MaskEdBox MT1 
            Height          =   315
            Left            =   2430
            TabIndex        =   12
            Top             =   510
            Width           =   1455
            _ExtentX        =   2566
            _ExtentY        =   556
            _Version        =   393216
            PromptChar      =   "_"
         End
         Begin VB.Label Label1 
            Alignment       =   1  'Right Justify
            BackColor       =   &H80000001&
            BackStyle       =   0  'Transparent
            Caption         =   "Study  Session:"
            ForeColor       =   &H80000006&
            Height          =   285
            Left            =   720
            TabIndex        =   13
            Top             =   540
            Width           =   1605
         End
      End
      Begin VB.Frame Frame2 
         BackColor       =   &H80000005&
         Caption         =   "&Years:"
         ForeColor       =   &H80000006&
         Height          =   1515
         Left            =   180
         TabIndex        =   5
         Top             =   2250
         Width           =   6255
         Begin VB.TextBox T2 
            Height          =   315
            Left            =   4320
            MaxLength       =   4
            TabIndex        =   7
            Text            =   "2004"
            Top             =   930
            Width           =   855
         End
         Begin VB.TextBox t1 
            Height          =   315
            Left            =   1680
            MaxLength       =   4
            TabIndex        =   6
            Text            =   "1990"
            Top             =   930
            Width           =   855
         End
         Begin VB.Label Label2 
            BackColor       =   &H80000004&
            Caption         =   "Years that should be appeared in the Years Drop Down list of the Student Qualification Section."
            ForeColor       =   &H80000006&
            Height          =   435
            Left            =   390
            TabIndex        =   10
            Top             =   330
            Width           =   5685
         End
         Begin VB.Label Label3 
            BackColor       =   &H80000004&
            Caption         =   "Starting Year:"
            ForeColor       =   &H80000007&
            Height          =   285
            Index           =   0
            Left            =   540
            TabIndex        =   9
            Top             =   960
            Width           =   1305
         End
         Begin VB.Label Label3 
            BackColor       =   &H80000004&
            Caption         =   "Ending Year:"
            ForeColor       =   &H80000007&
            Height          =   285
            Index           =   1
            Left            =   3180
            TabIndex        =   8
            Top             =   960
            Width           =   1305
         End
      End
   End
   Begin VB.Label Label3 
      BackStyle       =   0  'Transparent
      Caption         =   "Exit"
      BeginProperty Font 
         Name            =   "Arial"
         Size            =   12
         Charset         =   0
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H00000000&
      Height          =   315
      Index           =   2
      Left            =   7800
      TabIndex        =   14
      Top             =   6360
      Width           =   405
   End
   Begin VB.Image Image1 
      Height          =   720
      Left            =   7560
      Picture         =   "frmOptions.frx":444EA
      Stretch         =   -1  'True
      Top             =   6120
      Width           =   795
   End
End
Attribute VB_Name = "frmOptions"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub cmdCancel_Click()
Unload frmOptions
End Sub

Private Sub cmdOK_Click()
 SaveSetting App.EXEName, "Mt1", "Mt1", MT1.Text
 Unload Me
End Sub

Private Sub Form_Load()
Dither Me
  MT1.Text = GetSetting(App.EXEName, "Mt1", "Mt1", MT1.Text)
  
End Sub




Private Sub Label3_Click(Index As Integer)
Unload frmOptions
End Sub

Private Sub MT1_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then SendKeys "{tab}"
End Sub

Private Sub mt1_LostFocus()
Call CheckYear(MT1)
 Call CheckMonth(MT1)
 
End Sub


⌨️ 快捷键说明

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