📄 frmsetformat.frm
字号:
VERSION 5.00
Object = "{D252F124-F62C-11D1-9ABD-444553540000}#1.0#0"; "GADATE.DLL"
Object = "{BDC217C8-ED16-11CD-956C-0000C04E4C0A}#1.1#0"; "TABCTL32.OCX"
Object = "{F9043C88-F6F2-101A-A3C9-08002B2F49FB}#1.2#0"; "COMDLG32.OCX"
Begin VB.Form FrmFormatSet
BorderStyle = 1 'Fixed Single
Caption = "格式设置"
ClientHeight = 3705
ClientLeft = 45
ClientTop = 330
ClientWidth = 7950
HelpContextID = 10004
Icon = "FrmSetFormat.frx":0000
LinkTopic = "Form2"
LockControls = -1 'True
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 3705
ScaleWidth = 7950
StartUpPosition = 2 '屏幕中心
Begin VB.CommandButton CmdOK
Height = 350
Left = 6660
Style = 1 'Graphical
TabIndex = 106
Top = 270
UseMaskColor = -1 'True
Width = 1215
End
Begin VB.CommandButton CmdCancel
Height = 350
Left = 6660
Style = 1 'Graphical
TabIndex = 105
Top = 690
UseMaskColor = -1 'True
Width = 1215
End
Begin VB.CommandButton Cmd2Default
Caption = "恢复缺省(&P)"
Height = 350
Left = 6660
MaskColor = &H80000000&
Style = 1 'Graphical
TabIndex = 104
Top = 1110
UseMaskColor = -1 'True
Width = 1215
End
Begin MSComDlg.CommonDialog DlgFormat
Left = 7170
Top = 2190
_ExtentX = 847
_ExtentY = 847
_Version = 393216
End
Begin TabDlg.SSTab TabSetFormat
Height = 3555
Left = 60
TabIndex = 53
Top = 60
Width = 6525
_ExtentX = 11509
_ExtentY = 6271
_Version = 393216
Style = 1
Tabs = 7
TabsPerRow = 7
TabHeight = 520
TabCaption(0) = "页面(&1)"
TabPicture(0) = "FrmSetFormat.frx":000C
Tab(0).ControlEnabled= -1 'True
Tab(0).Control(0)= "LblTitle(0)"
Tab(0).Control(0).Enabled= 0 'False
Tab(0).Control(1)= "LblTitle(1)"
Tab(0).Control(1).Enabled= 0 'False
Tab(0).Control(2)= "ChkFormatSet(0)"
Tab(0).Control(2).Enabled= 0 'False
Tab(0).Control(3)= "SpiLineSpace"
Tab(0).Control(3).Enabled= 0 'False
Tab(0).Control(4)= "FraFormatSet(0)"
Tab(0).Control(4).Enabled= 0 'False
Tab(0).Control(5)= "FraFormatSet(1)"
Tab(0).Control(5).Enabled= 0 'False
Tab(0).Control(6)= "ChkFormatSet(1)"
Tab(0).Control(6).Enabled= 0 'False
Tab(0).ControlCount= 7
TabCaption(1) = "格式(&2)"
TabPicture(1) = "FrmSetFormat.frx":0028
Tab(1).ControlEnabled= 0 'False
Tab(1).Control(0)= "FraFormatSet(2)"
Tab(1).Control(1)= "FraFormatSet(3)"
Tab(1).ControlCount= 2
TabCaption(2) = "纸张(&3)"
TabPicture(2) = "FrmSetFormat.frx":0044
Tab(2).ControlEnabled= 0 'False
Tab(2).Control(0)= "LblTitle(10)"
Tab(2).Control(1)= "LblTitle(11)"
Tab(2).Control(2)= "LblTitle(12)"
Tab(2).Control(3)= "Label1"
Tab(2).Control(4)= "Label2"
Tab(2).Control(5)= "CboFormatSet(0)"
Tab(2).Control(6)= "FraFormatSet(4)"
Tab(2).Control(7)= "FraFormatSet(5)"
Tab(2).Control(8)= "SpiPaperWidth"
Tab(2).Control(8).Enabled= 0 'False
Tab(2).Control(9)= "SpiPaperHeight"
Tab(2).Control(9).Enabled= 0 'False
Tab(2).Control(10)= "Frame2"
Tab(2).ControlCount= 11
TabCaption(3) = "页边距(&4)"
TabPicture(3) = "FrmSetFormat.frx":0060
Tab(3).ControlEnabled= 0 'False
Tab(3).Control(0)= "LblTitle(13)"
Tab(3).Control(0).Enabled= 0 'False
Tab(3).Control(1)= "LblTitle(16)"
Tab(3).Control(1).Enabled= 0 'False
Tab(3).Control(2)= "LblTitle(17)"
Tab(3).Control(2).Enabled= 0 'False
Tab(3).Control(3)= "LblTitle(18)"
Tab(3).Control(3).Enabled= 0 'False
Tab(3).Control(4)= "LblTitle(19)"
Tab(3).Control(4).Enabled= 0 'False
Tab(3).Control(5)= "LblTitle(30)"
Tab(3).Control(5).Enabled= 0 'False
Tab(3).Control(6)= "LblTitle(31)"
Tab(3).Control(6).Enabled= 0 'False
Tab(3).Control(7)= "LblTitle(32)"
Tab(3).Control(7).Enabled= 0 'False
Tab(3).Control(8)= "LblTitle(33)"
Tab(3).Control(8).Enabled= 0 'False
Tab(3).Control(9)= "LblTitle(36)"
Tab(3).Control(9).Enabled= 0 'False
Tab(3).Control(10)= "LblTitle(15)"
Tab(3).Control(10).Enabled= 0 'False
Tab(3).Control(11)= "LblTitle(14)"
Tab(3).Control(11).Enabled= 0 'False
Tab(3).Control(12)= "LblTitle(34)"
Tab(3).Control(12).Enabled= 0 'False
Tab(3).Control(13)= "LblTitle(35)"
Tab(3).Control(13).Enabled= 0 'False
Tab(3).Control(14)= "SpiPageBorder(6)"
Tab(3).Control(14).Enabled= 0 'False
Tab(3).Control(15)= "SpiPageBorder(5)"
Tab(3).Control(15).Enabled= 0 'False
Tab(3).Control(16)= "SpiPageBorder(4)"
Tab(3).Control(16).Enabled= 0 'False
Tab(3).Control(17)= "SpiPageBorder(3)"
Tab(3).Control(17).Enabled= 0 'False
Tab(3).Control(18)= "SpiPageBorder(2)"
Tab(3).Control(18).Enabled= 0 'False
Tab(3).Control(19)= "SpiPageBorder(1)"
Tab(3).Control(19).Enabled= 0 'False
Tab(3).Control(20)= "FraFormatSet(6)"
Tab(3).Control(20).Enabled= 0 'False
Tab(3).Control(21)= "FraFormatSet(7)"
Tab(3).Control(21).Enabled= 0 'False
Tab(3).Control(22)= "FraFormatSet(8)"
Tab(3).Control(22).Enabled= 0 'False
Tab(3).Control(23)= "SpiPageBorder(0)"
Tab(3).Control(23).Enabled= 0 'False
Tab(3).ControlCount= 24
TabCaption(4) = "页眉页脚(&5)"
TabPicture(4) = "FrmSetFormat.frx":007C
Tab(4).ControlEnabled= 0 'False
Tab(4).Control(0)= "LblMiddle(1)"
Tab(4).Control(1)= "LblHeader(0)"
Tab(4).Control(2)= "LblHeader(1)"
Tab(4).Control(3)= "LblHeader(2)"
Tab(4).Control(4)= "LblMiddle(0)"
Tab(4).Control(5)= "LblFooter(0)"
Tab(4).Control(6)= "LblFooter(1)"
Tab(4).Control(7)= "LblFooter(2)"
Tab(4).Control(8)= "LblTitle(20)"
Tab(4).Control(9)= "LblTitle(21)"
Tab(4).Control(10)= "CboFormatSet(1)"
Tab(4).Control(11)= "CboFormatSet(2)"
Tab(4).Control(12)= "TxtHeader"
Tab(4).Control(13)= "CmdHeader"
Tab(4).Control(14)= "TxtFooter"
Tab(4).Control(15)= "CmdFooter"
Tab(4).ControlCount= 16
TabCaption(5) = "边框(&6)"
TabPicture(5) = "FrmSetFormat.frx":0098
Tab(5).ControlEnabled= 0 'False
Tab(5).Control(0)= "FraFormatSet(9)"
Tab(5).Control(1)= "FraFormatSet(10)"
Tab(5).Control(2)= "FraFormatSet(11)"
Tab(5).ControlCount= 3
TabCaption(6) = "字体(&7)"
TabPicture(6) = "FrmSetFormat.frx":00B4
Tab(6).ControlEnabled= 0 'False
Tab(6).Control(0)= "FraFormatSet(12)"
Tab(6).Control(1)= "FraFormatSet(13)"
Tab(6).ControlCount= 2
Begin VB.CommandButton CmdFooter
Height = 315
Left = -69450
Style = 1 'Graphical
TabIndex = 124
ToolTipText = "自定义"
Top = 3000
UseMaskColor = -1 'True
Width = 435
End
Begin VB.TextBox TxtFooter
Height = 315
Left = -74040
TabIndex = 123
Top = 3000
Width = 4545
End
Begin VB.CommandButton CmdHeader
Height = 315
Left = -69450
Style = 1 'Graphical
TabIndex = 122
ToolTipText = "自定义"
Top = 540
UseMaskColor = -1 'True
Width = 435
End
Begin VB.TextBox TxtHeader
Height = 315
Left = -74040
TabIndex = 121
Top = 540
Width = 4545
End
Begin VB.Frame Frame2
Caption = "单位"
Height = 825
Left = -72990
TabIndex = 118
Top = 1200
Width = 1335
Begin VB.OptionButton OptMM
Caption = "0.1毫米"
Height = 195
Left = 120
TabIndex = 120
Top = 240
Width = 1005
End
Begin VB.OptionButton OptInch
Caption = "0.01英寸"
Height = 195
Left = 120
TabIndex = 119
Top = 510
Width = 1035
End
End
Begin GACALENDARLibCtl.SpinEdit SpiPageBorder
Height = 255
Index = 0
Left = -73890
OleObjectBlob = "FrmSetFormat.frx":00D0
TabIndex = 21
Top = 480
Width = 1005
End
Begin GACALENDARLibCtl.SpinEdit SpiPaperHeight
Height = 315
Left = -73920
OleObjectBlob = "FrmSetFormat.frx":0177
TabIndex = 17
Top = 1710
Width = 855
End
Begin GACALENDARLibCtl.SpinEdit SpiPaperWidth
Height = 315
Left = -73920
OleObjectBlob = "FrmSetFormat.frx":021E
TabIndex = 15
Top = 1290
Width = 855
End
Begin VB.Frame FraFormatSet
Caption = "示例"
Height = 2745
Index = 13
Left = -71790
TabIndex = 96
Top = 480
Width = 2985
Begin VB.Label LblExample
Alignment = 2 'Center
Caption = "金算盘软件"
Height = 1755
Left = 270
TabIndex = 103
Top = 780
Width = 2475
End
End
Begin VB.Frame FraFormatSet
Caption = "字体设置"
Height = 2925
Index = 12
Left = -74730
TabIndex = 95
Top = 480
Width = 2715
Begin VB.CommandButton CmdBackColor
Caption = "背景颜色(&K)"
Height = 255
Left = 750
TabIndex = 114
Top = 2430
Width = 1185
End
Begin VB.CommandButton CmdFontColor
Caption = "前景颜色(&E)"
Height = 255
Left = 750
TabIndex = 99
Top = 2100
Width = 1185
End
Begin VB.CommandButton CmdFont
Caption = "字体(&F)"
Height = 255
Left = 750
TabIndex = 98
Top = 1770
Width = 1185
End
Begin VB.ListBox LstSetupFont
Height = 1320
Left = 180
TabIndex = 97
Top = 300
Width = 2355
End
End
Begin VB.Frame FraFormatSet
Caption = "外边框(&B)"
Height = 1365
Index = 11
Left = -74580
TabIndex = 48
Top = 1830
Width = 5595
Begin VB.CommandButton CmdShowColor
Caption = "…"
Height = 255
Index = 2
Left = 2010
TabIndex = 102
Top = 330
Width = 285
End
Begin VB.ComboBox CboFormatSet
Height = 300
Index = 7
Left = 3630
Style = 2 'Dropdown List
TabIndex = 52
Top = 840
Width = 1785
End
Begin VB.ComboBox CboFormatSet
Height = 300
Index = 5
Left = 3630
TabIndex = 50
Text = "CboFormatSet"
Top = 300
Width = 1785
End
Begin VB.ComboBox CboFormatSet
Height = 300
Index = 6
Left = 540
Style = 2 'Dropdown List
TabIndex = 51
Top = 870
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -