setprint.frm
来自「这个是我以前做的一个客户管理系统.包内已经含有源码和所用到的控件.代码是用VB写」· FRM 代码 · 共 956 行 · 第 1/3 页
FRM
956 行
VERSION 5.00
Object = "{F9043C88-F6F2-101A-A3C9-08002B2F49FB}#1.2#0"; "COMDLG32.OCX"
Begin VB.Form frmSetPrint
BorderStyle = 3 'Fixed Dialog
Caption = "字体格式设置"
ClientHeight = 6030
ClientLeft = 45
ClientTop = 330
ClientWidth = 5445
ControlBox = 0 'False
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 6030
ScaleWidth = 5445
ShowInTaskbar = 0 'False
StartUpPosition = 3 '窗口缺省
Begin MSComDlg.CommonDialog COMDLG
Left = 330
Top = 5190
_ExtentX = 847
_ExtentY = 847
_Version = 393216
End
Begin VB.CommandButton cmdOk
Caption = "确定"
Height = 435
Left = 2250
TabIndex = 24
Top = 5550
Width = 1485
End
Begin VB.Frame Frame1
Caption = "主标题"
Height = 1155
Left = 90
TabIndex = 22
Top = 90
Width = 5175
Begin VB.TextBox txtSubMainTitle
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 360
Left = 150
TabIndex = 31
Top = 690
Width = 4905
End
Begin VB.TextBox txtMainTitle
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 360
Left = 150
TabIndex = 23
Top = 240
Width = 4905
End
End
Begin VB.Frame Frame4
Caption = "字体设置"
Height = 2565
Left = 90
TabIndex = 10
Top = 1320
Width = 5175
Begin VB.CommandButton cmdFootTitle
Caption = "..."
Height = 285
Left = 4500
TabIndex = 30
Top = 2070
Width = 495
End
Begin VB.TextBox txtFootTitle
BackColor = &H80000018&
Enabled = 0 'False
Height = 315
Left = 840
TabIndex = 29
Top = 2040
Width = 3555
End
Begin VB.CommandButton cmdSubTitle
Caption = "..."
Height = 285
Left = 4500
TabIndex = 28
Top = 765
Width = 495
End
Begin VB.TextBox txtSubTitle
BackColor = &H80000018&
Enabled = 0 'False
Height = 315
Left = 840
TabIndex = 27
Top = 735
Width = 3555
End
Begin VB.TextBox txtFontNameTitle
BackColor = &H80000018&
Enabled = 0 'False
Height = 315
Left = 840
TabIndex = 16
Top = 300
Width = 3555
End
Begin VB.TextBox txtFontNameHead
BackColor = &H80000018&
Enabled = 0 'False
Height = 315
Left = 840
TabIndex = 15
Top = 1170
Width = 3555
End
Begin VB.TextBox txtFontNameContent
BackColor = &H80000018&
Enabled = 0 'False
Height = 315
Left = 840
TabIndex = 14
Top = 1605
Width = 3555
End
Begin VB.CommandButton cmdFontNameTitle
Caption = "..."
Height = 285
Left = 4500
TabIndex = 13
Top = 330
Width = 495
End
Begin VB.CommandButton cmdFontNameHead
Caption = "..."
Height = 285
Left = 4500
TabIndex = 12
Top = 1200
Width = 495
End
Begin VB.CommandButton cmdFontNameContent
Caption = "..."
Height = 285
Left = 4500
TabIndex = 11
Top = 1635
Width = 495
End
Begin VB.Label Label4
Caption = "尾 注:"
Height = 255
Left = 180
TabIndex = 26
Top = 2100
Width = 645
End
Begin VB.Label Label1
Caption = "副标题:"
Height = 225
Left = 180
TabIndex = 25
Top = 783
Width = 645
End
Begin VB.Label Label14
AutoSize = -1 'True
Caption = "标 题:"
Height = 180
Left = 180
TabIndex = 19
Top = 360
Width = 630
End
Begin VB.Label Label15
AutoSize = -1 'True
Caption = "字段名:"
Height = 180
Left = 180
TabIndex = 18
Top = 1251
Width = 630
End
Begin VB.Label Label16
AutoSize = -1 'True
Caption = "正 文:"
Height = 180
Left = 180
TabIndex = 17
Top = 1674
Width = 630
End
End
Begin VB.Frame Frame5
Caption = "间距"
Height = 1515
Left = 120
TabIndex = 1
Top = 3960
Width = 5175
Begin VB.PictureBox UDTitleSep
Height = 255
Left = 2610
ScaleHeight = 195
ScaleWidth = 180
TabIndex = 2
Top = 420
Width = 240
End
Begin VB.PictureBox UDConBefore
Height = 255
Left = 2610
ScaleHeight = 195
ScaleWidth = 180
TabIndex = 4
Top = 960
Width = 240
End
Begin VB.PictureBox UDConAfter
Height = 255
Left = 4440
ScaleHeight = 195
ScaleWidth = 180
TabIndex = 5
Top = 960
Width = 240
End
Begin VB.TextBox txtTitleSep
Height = 300
Left = 2070
TabIndex = 3
Top = 390
Width = 795
End
Begin VB.TextBox txtConBefore
Height = 300
Left = 2070
TabIndex = 6
Top = 930
Width = 795
End
Begin VB.TextBox txtConAfter
Height = 300
Left = 3900
TabIndex = 7
Top = 930
Width = 795
End
Begin VB.Label Label3
AutoSize = -1 'True
Caption = "左边距:"
Height = 180
Left = 1380
TabIndex = 21
Top = 990
Width = 630
End
Begin VB.Label Label2
AutoSize = -1 'True
Caption = "上边距:"
Height = 180
Left = 3210
TabIndex = 20
Top = 990
Width = 630
End
Begin VB.Label Label13
AutoSize = -1 'True
Caption = "标题与表格之间的距离:"
Height = 180
Left = 120
TabIndex = 9
Top = 450
Width = 1890
End
Begin VB.Label Label17
AutoSize = -1 'True
Caption = "单元格内容:"
Height = 180
Left = 150
TabIndex = 8
Top = 990
Width = 990
End
End
Begin VB.CommandButton cmdCancel
Caption = "取消"
Height = 435
Left = 3840
TabIndex = 0
Top = 5550
Width = 1485
End
End
Attribute VB_Name = "frmSetPrint"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Private mbChange As Boolean '标志选项是否改变的变量
Private Function mbSaveToINI() As Boolean
'************************************************************
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?