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

📄 find.frm

📁 大型商业学分统计系统原代码说明 1.如果在向导设置班级数为8时,此数值为班级总数
💻 FRM
字号:
VERSION 5.00
Object = "{90F3D7B3-92E7-44BA-B444-6A8E2A3BC375}#1.0#0"; "ACTSKIN4.OCX"
Object = "{A8561640-E93C-11D3-AC3B-CE6078F7B616}#1.0#0"; "VSPRINT7.OCX"
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCTL.OCX"
Begin VB.Form find 
   Caption         =   "打印预览 (评语管理系统)"
   ClientHeight    =   9525
   ClientLeft      =   1650
   ClientTop       =   1545
   ClientWidth     =   11745
   BeginProperty Font 
      Name            =   "News Gothic MT"
      Size            =   9
      Charset         =   0
      Weight          =   400
      Underline       =   0   'False
      Italic          =   0   'False
      Strikethrough   =   0   'False
   EndProperty
   Icon            =   "find.frx":0000
   LinkTopic       =   "Form1"
   ScaleHeight     =   9525
   ScaleWidth      =   11745
   StartUpPosition =   2  '屏幕中心
   WindowState     =   2  'Maximized
   Begin VSPrinter7LibCtl.VSPrinter VP 
      Align           =   1  'Align Top
      Height          =   6690
      Left            =   0
      TabIndex        =   0
      Top             =   615
      Width           =   11745
      _cx             =   20717
      _cy             =   11800
      Appearance      =   0
      BorderStyle     =   1
      Enabled         =   -1  'True
      MousePointer    =   0
      BackColor       =   -2147483643
      BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
         Name            =   "宋体"
         Size            =   10.5
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      BeginProperty HdrFont {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
         Name            =   "宋体"
         Size            =   10.5
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      _ConvInfo       =   1
      AutoRTF         =   -1  'True
      Preview         =   -1  'True
      DefaultDevice   =   0   'False
      PhysicalPage    =   -1  'True
      AbortWindow     =   -1  'True
      AbortWindowPos  =   0
      AbortCaption    =   "Printing..."
      AbortTextButton =   "Cancel"
      AbortTextDevice =   "on the %s on %s"
      AbortTextPage   =   "Now printing Page %d of"
      FileName        =   ""
      MarginLeft      =   1440
      MarginTop       =   1440
      MarginRight     =   1440
      MarginBottom    =   1440
      MarginHeader    =   0
      MarginFooter    =   0
      IndentLeft      =   0
      IndentRight     =   0
      IndentFirst     =   0
      IndentTab       =   720
      SpaceBefore     =   0
      SpaceAfter      =   0
      LineSpacing     =   100
      Columns         =   1
      ColumnSpacing   =   180
      ShowGuides      =   2
      LargeChangeHorz =   300
      LargeChangeVert =   300
      SmallChangeHorz =   30
      SmallChangeVert =   30
      Track           =   0   'False
      ProportionalBars=   -1  'True
      Zoom            =   40.4317958783121
      ZoomMode        =   3
      ZoomMax         =   400
      ZoomMin         =   10
      ZoomStep        =   25
      EmptyColor      =   0
      TextColor       =   0
      HdrColor        =   12582912
      BrushColor      =   16711680
      BrushStyle      =   0
      PenColor        =   0
      PenStyle        =   0
      PenWidth        =   0
      PageBorder      =   0
      Header          =   ""
      Footer          =   ""
      TableSep        =   "|;"
      TableBorder     =   7
      TablePen        =   0
      TablePenLR      =   0
      TablePenTB      =   0
      NavBar          =   0
      NavBarColor     =   -2147483633
      ExportFormat    =   0
      URL             =   ""
      Navigation      =   3
      NavBarMenuText  =   " "
   End
   Begin MSComctlLib.Toolbar Toolbar1 
      Align           =   1  'Align Top
      Height          =   615
      Left            =   0
      TabIndex        =   1
      Top             =   0
      Width           =   11745
      _ExtentX        =   20717
      _ExtentY        =   1085
      ButtonWidth     =   609
      ButtonHeight    =   926
      Appearance      =   1
      _Version        =   393216
      Begin VB.CommandButton Command2 
         Caption         =   "退出报表"
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   9
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   465
         Left            =   5100
         TabIndex        =   6
         Top             =   60
         Width           =   975
      End
      Begin VB.CommandButton cmdPageSetup 
         Caption         =   "页面设置"
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   9
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   465
         Left            =   150
         TabIndex        =   5
         Top             =   60
         Width           =   1155
      End
      Begin VB.ComboBox cmbPercent 
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   9
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         ForeColor       =   &H00FF0000&
         Height          =   300
         ItemData        =   "find.frx":030A
         Left            =   2970
         List            =   "find.frx":0323
         Style           =   2  'Dropdown List
         TabIndex        =   4
         Top             =   150
         Width           =   915
      End
      Begin VB.ComboBox cmbZoomMode 
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   9
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         ForeColor       =   &H00FF0000&
         Height          =   300
         ItemData        =   "find.frx":034E
         Left            =   1470
         List            =   "find.frx":0364
         Style           =   2  'Dropdown List
         TabIndex        =   3
         Top             =   150
         Width           =   1395
      End
      Begin VB.CommandButton Print 
         Caption         =   "开始打印"
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   9
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   465
         Left            =   4020
         TabIndex        =   2
         Top             =   60
         Width           =   975
      End
   End
   Begin ACTIVESKINLibCtl.Skin Skin1 
      Left            =   0
      OleObjectBlob   =   "find.frx":039E
      Top             =   0
   End
End
Attribute VB_Name = "find"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
 

Private Sub cmdPageSetup_Click()
 
       On Error Resume Next '调出页面设置界面
        Me.Enabled = False
        VP.PrintDialog pdPageSetup
       
    VP.PrintFile App.Path & "\temp.rtf"
        Me.Enabled = True
End Sub
Private Sub cmbPercent_Click()
        On Error Resume Next '进行百分比操作
        VP.Zoom = Val(cmbPercent.List(cmbPercent.ListIndex))
End Sub
Private Sub cmbZoomMode_Click()
        On Error Resume Next  '当选择了自定义时,则自定义参数生效
        If cmbZoomMode.ListIndex = 0 Then
                cmbPercent_Click
                cmbPercent.Enabled = True
        Else
                cmbPercent.Enabled = False
                VP.ZoomMode = cmbZoomMode.ListIndex
        End If
End Sub

Private Sub Command2_Click()
Unload Me
End Sub

Private Sub Print_Click()
        On Error Resume Next '开始打印
        If VP.PageCount > 0 Then VP.PrintDoc
End Sub
Private Sub Form_Load()

'Skin1.LoadSkin App.Path & "\SKIN\0.SK"
Skin1.ApplySkin hwnd


   cmbPercent.ListIndex = 0
        cmbZoomMode.ListIndex = 3
 
    VP.PrintFile App.Path & "\temp.rtf"
End Sub

Private Sub Form_Resize()
    On Error Resume Next
 
    VP.Height = Me.ScaleHeight - Toolbar1.Height
End Sub
 

⌨️ 快捷键说明

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