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

📄 frmmain.frm

📁 几个不错的VB例子
💻 FRM
📖 第 1 页 / 共 3 页
字号:
VERSION 5.00
Object = "{3B7C8863-D78F-101B-B9B5-04021C009402}#1.2#0"; "RICHTX32.OCX"
Object = "{F9043C88-F6F2-101A-A3C9-08002B2F49FB}#1.2#0"; "comdlg32.ocx"
Begin VB.Form frmMain 
   Caption         =   "frmMain"
   ClientHeight    =   8130
   ClientLeft      =   5115
   ClientTop       =   1860
   ClientWidth     =   12225
   LinkTopic       =   "Form1"
   ScaleHeight     =   0
   ScaleWidth      =   0
   Begin MSComDlg.CommonDialog cd 
      Left            =   120
      Top             =   7800
      _ExtentX        =   847
      _ExtentY        =   847
      _Version        =   393216
   End
   Begin VB.CommandButton cmd 
      Caption         =   "Print"
      Height          =   375
      Index           =   11
      Left            =   1680
      TabIndex        =   41
      ToolTipText     =   "Print "
      Top             =   7680
      Width           =   855
   End
   Begin VB.CommandButton cmd 
      Caption         =   "Assign"
      Enabled         =   0   'False
      Height          =   375
      Index           =   10
      Left            =   9360
      TabIndex        =   37
      ToolTipText     =   "Create Assign Statements for ALL Fields for selected Table"
      Top             =   7680
      Width           =   855
   End
   Begin VB.CommandButton cmd 
      Caption         =   "Fields"
      Enabled         =   0   'False
      Height          =   375
      Index           =   9
      Left            =   10320
      TabIndex        =   36
      ToolTipText     =   "Show ALL Fields for selected Table"
      Top             =   7680
      Width           =   855
   End
   Begin VB.CommandButton cmd 
      Caption         =   "Check"
      Height          =   375
      Index           =   8
      Left            =   6480
      TabIndex        =   35
      ToolTipText     =   "Checks the Query and removes all rubish"
      Top             =   7680
      Width           =   855
   End
   Begin VB.CommandButton cmd 
      Caption         =   "Paste"
      Height          =   375
      Index           =   7
      Left            =   3600
      TabIndex        =   34
      ToolTipText     =   "Paste from Clipboard"
      Top             =   7680
      Width           =   855
   End
   Begin VB.CommandButton cmd 
      Caption         =   "Help"
      Height          =   375
      Index           =   6
      Left            =   720
      TabIndex        =   33
      ToolTipText     =   "Help"
      Top             =   7680
      Width           =   855
   End
   Begin VB.CommandButton cmd 
      Caption         =   "Clean"
      Height          =   375
      Index           =   5
      Left            =   2640
      TabIndex        =   31
      ToolTipText     =   "Cleans the Box"
      Top             =   7680
      Width           =   855
   End
   Begin VB.CommandButton cmd 
      Caption         =   "Copy"
      Height          =   375
      Index           =   4
      Left            =   4560
      TabIndex        =   30
      ToolTipText     =   "Copy to Clipboard"
      Top             =   7680
      Width           =   855
   End
   Begin VB.CommandButton cmd 
      Caption         =   "Format"
      Height          =   375
      Index           =   3
      Left            =   5520
      TabIndex        =   29
      ToolTipText     =   "Format SELECT Query"
      Top             =   7680
      Width           =   855
   End
   Begin VB.CommandButton cmd 
      Caption         =   "Exit"
      Height          =   375
      Index           =   1
      Left            =   11280
      TabIndex        =   27
      ToolTipText     =   "Exit the Application"
      Top             =   7680
      Width           =   855
   End
   Begin VB.CommandButton cmd 
      Caption         =   "Connect"
      Height          =   375
      Index           =   2
      Left            =   7440
      TabIndex        =   23
      ToolTipText     =   "Connect to Database"
      Top             =   7680
      Width           =   855
   End
   Begin VB.CommandButton cmd 
      Caption         =   "Build SQL"
      Enabled         =   0   'False
      Height          =   375
      Index           =   0
      Left            =   8400
      TabIndex        =   22
      ToolTipText     =   "Build SQL Queries"
      Top             =   7680
      Width           =   855
   End
   Begin VB.Frame Frame2 
      Caption         =   "Format"
      Height          =   1380
      Left            =   3000
      TabIndex        =   7
      Top             =   1200
      Width           =   9135
      Begin VB.CheckBox chkFormat 
         Caption         =   "Check1"
         Height          =   255
         Index           =   5
         Left            =   6360
         TabIndex        =   43
         ToolTipText     =   "Add Constant Prefix"
         Top             =   960
         Width           =   255
      End
      Begin VB.TextBox txtFormat 
         Height          =   285
         Index           =   5
         Left            =   6600
         TabIndex        =   42
         Text            =   "txtFormat"
         Top             =   960
         Width           =   1455
      End
      Begin VB.TextBox txtFormat 
         Height          =   285
         Index           =   4
         Left            =   2400
         TabIndex        =   39
         Text            =   "txtFormat"
         Top             =   960
         Width           =   2055
      End
      Begin VB.CheckBox chkFormat 
         Caption         =   "Check1"
         Height          =   255
         Index           =   4
         Left            =   2160
         TabIndex        =   38
         ToolTipText     =   "Use defined Recordset Name"
         Top             =   960
         Width           =   255
      End
      Begin VB.CheckBox chkType 
         Caption         =   "Dim"
         Height          =   255
         Index           =   3
         Left            =   8160
         TabIndex        =   28
         ToolTipText     =   "Include Dim Part"
         Top             =   240
         Value           =   1  'Checked
         Width           =   855
      End
      Begin VB.CheckBox chkFormat 
         Caption         =   "Check1"
         Height          =   255
         Index           =   3
         Left            =   6360
         TabIndex        =   26
         ToolTipText     =   "Add Defined number of Spaces"
         Top             =   600
         Width           =   255
      End
      Begin VB.CheckBox chkType 
         Caption         =   "Update"
         Height          =   255
         Index           =   2
         Left            =   8160
         TabIndex        =   21
         ToolTipText     =   "Include Update Statement"
         Top             =   960
         Value           =   1  'Checked
         Width           =   855
      End
      Begin VB.CheckBox chkType 
         Caption         =   "Delete"
         Height          =   255
         Index           =   1
         Left            =   8160
         TabIndex        =   20
         ToolTipText     =   "Include Delete Statement"
         Top             =   720
         Value           =   1  'Checked
         Width           =   855
      End
      Begin VB.CheckBox chkType 
         Caption         =   "Insert"
         Height          =   255
         Index           =   0
         Left            =   8160
         TabIndex        =   19
         ToolTipText     =   "Include Insert Statement"
         Top             =   480
         Value           =   1  'Checked
         Width           =   855
      End
      Begin VB.TextBox txtFormat 
         Height          =   285
         Index           =   3
         Left            =   6600
         TabIndex        =   18
         Text            =   "txtFormat"
         Top             =   600
         Width           =   975
      End
      Begin VB.CheckBox chkFormat 
         Caption         =   "Check1"
         Height          =   255
         Index           =   2
         Left            =   6360
         TabIndex        =   16
         ToolTipText     =   "User Text Box Name"
         Top             =   240
         Width           =   255
      End
      Begin VB.CheckBox chkFormat 
         Caption         =   "Check1"
         Height          =   255
         Index           =   1
         Left            =   2160
         TabIndex        =   15
         ToolTipText     =   "Use defined SQL String Check Function"
         Top             =   600
         Width           =   255
      End
      Begin VB.CheckBox chkFormat 
         Caption         =   "Check1"
         Height          =   255
         Index           =   0
         Left            =   2160
         TabIndex        =   14
         ToolTipText     =   "Use String Variable Name"
         Top             =   240
         Width           =   255
      End
      Begin VB.TextBox txtFormat 
         Height          =   285
         Index           =   2
         Left            =   6600
         TabIndex        =   13
         Text            =   "txtFormat"
         Top             =   240
         Width           =   1455
      End
      Begin VB.TextBox txtFormat 
         Height          =   285
         Index           =   1
         Left            =   2400
         TabIndex        =   11
         Text            =   "txtFormat"
         Top             =   600
         Width           =   2055
      End
      Begin VB.TextBox txtFormat 
         Height          =   285
         Index           =   0
         Left            =   2400
         TabIndex        =   10
         Text            =   "txtFormat"
         Top             =   240
         Width           =   2055
      End
      Begin VB.Label Label2 
         Caption         =   "Constant Prefix :"
         Height          =   255
         Index           =   6
         Left            =   4920
         TabIndex        =   44
         Top             =   960
         Width           =   1695
      End
      Begin VB.Label Label2 
         Caption         =   "Recordset Name :"
         Height          =   255
         Index           =   5
         Left            =   120
         TabIndex        =   40
         Top             =   960
         Width           =   2175
      End
      Begin VB.Label Label2 
         Caption         =   "Number of Spaces :"
         Height          =   255
         Index           =   3
         Left            =   4920
         TabIndex        =   17
         Top             =   600
         Width           =   1455
      End
      Begin VB.Label Label2 
         Caption         =   "Text Box Name :"
         Height          =   255
         Index           =   2
         Left            =   4920
         TabIndex        =   12
         Top             =   240
         Width           =   1335
      End
      Begin VB.Label Label2 
         Caption         =   "SQL String Check Function :"
         Height          =   255
         Index           =   1
         Left            =   120
         TabIndex        =   9
         Top             =   600
         Width           =   2175
      End
      Begin VB.Label Label2 
         Caption         =   "String Variable Name :"
         Height          =   255
         Index           =   0
         Left            =   120
         TabIndex        =   8
         Top             =   240
         Width           =   1695

⌨️ 快捷键说明

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