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

📄 tableset.frm

📁 该控件是一个针对Access 数据库而设计的查询/分组统计/打印/预览一体化控件。该控件需要 VB5/SP3 支持。 随控件一起提供了一个例子
💻 FRM
字号:
VERSION 5.00
Begin VB.Form TableSet 
   BorderStyle     =   1  'Fixed Single
   Caption         =   "设置打印格式"
   ClientHeight    =   4155
   ClientLeft      =   45
   ClientTop       =   330
   ClientWidth     =   6495
   BeginProperty Font 
      Name            =   "宋体"
      Size            =   10.5
      Charset         =   134
      Weight          =   400
      Underline       =   0   'False
      Italic          =   0   'False
      Strikethrough   =   0   'False
   EndProperty
   Icon            =   "TableSet.frx":0000
   LinkTopic       =   "Form1"
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   4155
   ScaleWidth      =   6495
   StartUpPosition =   1  '所有者中心
   Begin VB.CommandButton Command2 
      Caption         =   "应 用"
      Height          =   495
      Left            =   3240
      TabIndex        =   3
      Top             =   3240
      Width           =   1575
   End
   Begin VB.CommandButton Command1 
      Caption         =   "取 消"
      Height          =   495
      Left            =   960
      TabIndex        =   2
      Top             =   3240
      Width           =   1455
   End
   Begin VB.PictureBox Picture1 
      Appearance      =   0  'Flat
      BackColor       =   &H80000005&
      ForeColor       =   &H80000008&
      Height          =   1575
      Left            =   3000
      ScaleHeight     =   1545
      ScaleWidth      =   2745
      TabIndex        =   1
      Top             =   840
      Width           =   2775
   End
   Begin VB.ListBox List1 
      Height          =   2580
      Left            =   360
      TabIndex        =   0
      Top             =   360
      Width           =   1815
   End
   Begin VB.Shape Shape1 
      BorderColor     =   &H80000003&
      BorderStyle     =   6  'Inside Solid
      FillColor       =   &H00404040&
      FillStyle       =   0  'Solid
      Height          =   1575
      Left            =   3120
      Top             =   960
      Width           =   2775
   End
   Begin VB.Image Image1 
      Height          =   1500
      Index           =   5
      Left            =   2880
      Picture         =   "TableSet.frx":014A
      Top             =   2640
      Visible         =   0   'False
      Width           =   3000
   End
   Begin VB.Image Image1 
      Height          =   1500
      Index           =   0
      Left            =   2520
      Picture         =   "TableSet.frx":25A9
      Top             =   2400
      Visible         =   0   'False
      Width           =   3000
   End
   Begin VB.Image Image1 
      Height          =   1500
      Index           =   4
      Left            =   2400
      Picture         =   "TableSet.frx":4502
      Top             =   2400
      Visible         =   0   'False
      Width           =   3000
   End
   Begin VB.Image Image1 
      Height          =   1500
      Index           =   3
      Left            =   2520
      Picture         =   "TableSet.frx":67C6
      Top             =   2640
      Visible         =   0   'False
      Width           =   3000
   End
   Begin VB.Image Image1 
      Height          =   1500
      Index           =   2
      Left            =   3360
      Picture         =   "TableSet.frx":8988
      Top             =   2400
      Visible         =   0   'False
      Width           =   3000
   End
   Begin VB.Image Image1 
      Height          =   1500
      Index           =   1
      Left            =   3600
      Picture         =   "TableSet.frx":B07C
      Top             =   2640
      Visible         =   0   'False
      Width           =   3000
   End
End
Attribute VB_Name = "TableSet"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False

Private Sub Command1_Click()
  Unload Me
End Sub

Private Sub Command2_Click()
  A_lookview.TableType = List1.ListIndex
  Unload Me
End Sub

Private Sub Form_Load()
  List1.AddItem "无边框"
  List1.AddItem "传统表格"
  List1.AddItem "列 1"
  List1.AddItem "列 2"
  List1.AddItem "简明 1"
  List1.AddItem "简明 2"
  List1.ListIndex = A_lookview.TableType
  Set Picture1.Picture = Image1(List1.ListIndex).Picture
End Sub

Private Sub List1_Click()
  Set Picture1.Picture = Image1(List1.ListIndex).Picture
End Sub

⌨️ 快捷键说明

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