📄 frmtext.frm
字号:
VERSION 5.00
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "mscomctl.ocx"
Object = "{0D452EE1-E08F-101A-852E-02608C4D0BB4}#2.0#0"; "FM20.DLL"
Object = "{F9043C88-F6F2-101A-A3C9-08002B2F49FB}#1.2#0"; "ComDlg32.OCX"
Begin VB.Form frmText
BackColor = &H8000000A&
BorderStyle = 3 'Fixed Dialog
Caption = "属性"
ClientHeight = 3645
ClientLeft = 2745
ClientTop = 2970
ClientWidth = 5505
Icon = "frmText.frx":0000
LinkTopic = "Form1"
LockControls = -1 'True
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 3645
ScaleWidth = 5505
ShowInTaskbar = 0 'False
StartUpPosition = 1 '所有者中心
Begin VB.CommandButton cmdCancel
Cancel = -1 'True
Caption = "取消"
Height = 285
Left = 4365
TabIndex = 28
Top = 3285
Width = 1000
End
Begin VB.CommandButton cmdConfirm
Caption = "确定"
Default = -1 'True
Height = 285
Left = 3240
TabIndex = 27
Top = 3285
Width = 1000
End
Begin VB.Frame fraFont
BorderStyle = 0 'None
Height = 2310
Left = 225
TabIndex = 20
Top = 450
Width = 4650
Begin MSComDlg.CommonDialog cFont
Left = 3015
Top = 405
_ExtentX = 847
_ExtentY = 847
_Version = 393216
End
Begin VB.CommandButton cmdFont
Caption = "字体颜色"
Height = 330
Left = 270
TabIndex = 23
Top = 315
Width = 1000
End
Begin VB.Frame Frame1
BackColor = &H8000000A&
Caption = "示例"
Height = 1275
Left = 270
TabIndex = 21
Top = 765
Width = 4380
Begin VB.PictureBox picPreview
AutoRedraw = -1 'True
Height = 690
Left = 270
ScaleHeight = 630
ScaleWidth = 3420
TabIndex = 22
TabStop = 0 'False
Top = 315
Width = 3480
End
End
End
Begin VB.Frame fraText
BorderStyle = 0 'None
Height = 2310
Left = 225
TabIndex = 9
Top = 450
Width = 4650
Begin VB.ComboBox cmbField
Height = 315
Left = 675
Style = 2 'Dropdown List
TabIndex = 12
Top = 315
Width = 1320
End
Begin VB.ComboBox cmbAlign
Height = 315
Left = 3150
Style = 2 'Dropdown List
TabIndex = 11
Top = 315
Width = 1500
End
Begin VB.TextBox txtString
Height = 1185
Left = 270
MultiLine = -1 'True
ScrollBars = 2 'Vertical
TabIndex = 10
Top = 810
Width = 4380
End
Begin VB.Label Label7
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "对齐方式"
Height = 180
Left = 2340
TabIndex = 26
Top = 360
Width = 720
End
Begin VB.Label Label6
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "类型"
Height = 180
Left = 225
TabIndex = 25
Top = 360
Width = 360
End
End
Begin VB.Frame fraSize
BorderStyle = 0 'None
Height = 2310
Left = 225
TabIndex = 13
Top = 450
Width = 4650
Begin VB.TextBox txtWidth
Height = 270
Left = 765
TabIndex = 16
Top = 315
Width = 960
End
Begin VB.TextBox txtHeight
Height = 270
Left = 765
TabIndex = 15
Top = 675
Width = 960
End
Begin VB.TextBox txtRowHeight
Height = 270
Left = 765
TabIndex = 14
Top = 1080
Width = 960
End
Begin VB.Label Label5
AutoSize = -1 'True
Caption = "(单位为mm)"
Height = 180
Left = 2025
TabIndex = 24
Top = 360
Width = 900
End
Begin VB.Label Label2
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "宽度"
Height = 180
Left = 270
TabIndex = 19
Top = 360
Width = 360
End
Begin VB.Label Label3
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "高度"
Height = 180
Left = 270
TabIndex = 18
Top = 720
Width = 360
End
Begin VB.Label Label4
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "行高"
Height = 180
Left = 270
TabIndex = 17
Top = 1125
Width = 360
End
End
Begin VB.Frame fraSet
BorderStyle = 0 'None
Height = 2310
Left = 225
TabIndex = 5
Top = 450
Width = 4650
Begin VB.TextBox txtDecNum
Alignment = 1 'Right Justify
Enabled = 0 'False
Height = 270
Left = 2430
TabIndex = 7
TabStop = 0 'False
Text = "2"
Top = 315
Width = 375
End
Begin MSForms.SpinButton udDecNum
Height = 285
Left = 2835
TabIndex = 4
Top = 315
Width = 240
Size = "423;503"
Max = 10
End
Begin MSForms.CheckBox chkShowZero
Height = 330
Left = 270
TabIndex = 3
Top = 1215
Width = 1125
VariousPropertyBits= 1015023643
BackColor = -2147483638
ForeColor = -2147483630
DisplayStyle = 4
Size = "1984;582"
Value = "0"
Caption = "显示零值"
FontName = "宋体"
FontHeight = 180
FontCharSet = 134
FontPitchAndFamily= 34
End
Begin MSForms.CheckBox chkUseSpe
Height = 330
Left = 270
TabIndex = 2
Top = 900
Width = 1305
VariousPropertyBits= 1015023643
BackColor = -2147483638
ForeColor = -2147483630
DisplayStyle = 4
Size = "2302;582"
Value = "0"
Caption = "使用分隔符"
FontName = "宋体"
FontHeight = 180
FontCharSet = 134
FontPitchAndFamily= 34
End
Begin MSForms.CheckBox chkAutoTrim
Height = 330
Left = 270
TabIndex = 1
Top = 585
Width = 1125
VariousPropertyBits= 1015023643
BackColor = -2147483638
ForeColor = -2147483630
DisplayStyle = 4
Size = "1984;582"
Value = "0"
Caption = "自动截断"
FontName = "宋体"
FontHeight = 180
FontCharSet = 134
FontPitchAndFamily= 34
End
Begin MSForms.CheckBox chkAutoWrap
Height = 330
Left = 270
TabIndex = 0
Top = 270
Width = 1125
VariousPropertyBits= 1015023643
BackColor = -2147483638
ForeColor = -2147483630
DisplayStyle = 4
Size = "1984;582"
Value = "0"
Caption = "自动换行"
FontName = "宋体"
FontHeight = 180
FontCharSet = 134
FontPitchAndFamily= 34
End
Begin VB.Label Label1
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "小数位数"
Height = 180
Left = 1710
TabIndex = 6
Top = 360
Width = 720
End
End
Begin MSComctlLib.TabStrip tbBK
Height = 3075
Left = 135
TabIndex = 8
Top = 135
Width = 5235
_ExtentX = 9234
_ExtentY = 5424
TabWidthStyle = 2
MultiRow = -1 'True
TabFixedWidth = 1409
TabMinWidth = 529
TabStyle = 1
_Version = 393216
BeginProperty Tabs {1EFB6598-857C-11D1-B16A-00C0F0283628}
NumTabs = 4
BeginProperty Tab1 {1EFB659A-857C-11D1-B16A-00C0F0283628}
Caption = "文本"
Key = "text"
ImageVarType = 2
EndProperty
BeginProperty Tab2 {1EFB659A-857C-11D1-B16A-00C0F0283628}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -