📄 frmdemo.frm
字号:
VERSION 5.00
Object = "{6B7E6392-850A-101B-AFC0-4210102A8DA7}#1.3#0"; "comctl32.ocx"
Object = "{5E9E78A0-531B-11CF-91F6-C2863C385E30}#1.0#0"; "MSFLXGRD.OCX"
Begin VB.Form frmDemo
BorderStyle = 1 'Fixed Single
Caption = "MSFlexGrid 打印演示 http://www.mndsoft.com/blog/ 枕善居"
ClientHeight = 8655
ClientLeft = 45
ClientTop = 330
ClientWidth = 10740
LinkTopic = "Form1"
MaxButton = 0 'False
ScaleHeight = 8655
ScaleWidth = 10740
StartUpPosition = 3 '窗口缺省
Begin VB.CommandButton cmdRefresh1
Caption = "刷新(&R)"
Height = 375
Left = 9120
TabIndex = 15
Top = 7560
Width = 1455
End
Begin VB.CheckBox Check1
Caption = "自动调整(&W)"
Height = 195
Left = 9120
TabIndex = 14
Top = 6840
Value = 1 'Checked
Width = 2415
End
Begin VB.CommandButton CmdFlexPnt
Caption = "打印Msflexgrid"
Height = 495
Left = 9120
TabIndex = 13
Top = 8040
Width = 1455
End
Begin VB.CommandButton CmdListPnt
Caption = "打印ListView"
Height = 495
Left = 5880
TabIndex = 12
Top = 8040
Width = 1695
End
Begin ComctlLib.ListView lvData
Height = 3615
Left = 120
TabIndex = 10
Top = 480
Width = 5175
_ExtentX = 9128
_ExtentY = 6376
View = 3
LabelWrap = -1 'True
HideSelection = -1 'True
_Version = 327682
SmallIcons = "imlImages"
ForeColor = -2147483640
BackColor = -2147483643
BorderStyle = 1
Appearance = 1
NumItems = 4
BeginProperty ColumnHeader(1) {0713E8C7-850A-101B-AFC0-4210102A8DA7}
Key = ""
Object.Tag = ""
Text = "Column 1"
Object.Width = 2540
EndProperty
BeginProperty ColumnHeader(2) {0713E8C7-850A-101B-AFC0-4210102A8DA7}
Alignment = 1
SubItemIndex = 1
Key = ""
Object.Tag = ""
Text = "Column 2"
Object.Width = 1587
EndProperty
BeginProperty ColumnHeader(3) {0713E8C7-850A-101B-AFC0-4210102A8DA7}
Alignment = 2
SubItemIndex = 2
Key = ""
Object.Tag = ""
Text = "Column 3"
Object.Width = 2540
EndProperty
BeginProperty ColumnHeader(4) {0713E8C7-850A-101B-AFC0-4210102A8DA7}
SubItemIndex = 3
Key = ""
Object.Tag = ""
Text = "Column 4"
Object.Width = 3351
EndProperty
End
Begin VB.CommandButton cmdPrint
Caption = "打印(&P)..."
Height = 495
Left = 7800
TabIndex = 2
Top = 8040
Width = 1095
End
Begin VB.CheckBox chkIcons
Caption = "使用图标(&I)"
Height = 255
Left = 5880
TabIndex = 9
Top = 7200
Value = 1 'Checked
Width = 1575
End
Begin VB.CheckBox chkColWidth
Caption = "自动调整(&W)"
Height = 195
Left = 5880
TabIndex = 8
Top = 6840
Value = 1 'Checked
Width = 2415
End
Begin VB.PictureBox picScroll
Height = 6255
Left = 5640
ScaleHeight = 6195
ScaleWidth = 4875
TabIndex = 4
Top = 360
Width = 4935
Begin VB.VScrollBar vscScroll
Height = 2535
LargeChange = 15
Left = 4320
TabIndex = 6
TabStop = 0 'False
Top = 0
Width = 255
End
Begin VB.HScrollBar hscScroll
Height = 255
LargeChange = 15
Left = 0
TabIndex = 5
TabStop = 0 'False
Top = 3000
Width = 4575
End
Begin VB.PictureBox picTarget
Appearance = 0 'Flat
AutoRedraw = -1 'True
BackColor = &H00FFFFFF&
ForeColor = &H00000000&
Height = 2655
Left = 0
ScaleHeight = 2625
ScaleWidth = 3825
TabIndex = 7
Top = 0
Width = 3855
End
End
Begin VB.CommandButton cmdRefresh
Caption = "刷新(&R)"
Height = 375
Left = 5880
TabIndex = 3
Top = 7560
Width = 1695
End
Begin MSFlexGridLib.MSFlexGrid MSFlexGrid1
Height = 4095
Left = 120
TabIndex = 11
Top = 4320
Width = 5295
_ExtentX = 9340
_ExtentY = 7223
_Version = 393216
AllowUserResizing= 3
End
Begin ComctlLib.ImageList imlImages
Left = 4800
Top = 120
_ExtentX = 1005
_ExtentY = 1005
BackColor = -2147483643
ImageWidth = 16
ImageHeight = 16
MaskColor = 32896
_Version = 327682
BeginProperty Images {0713E8C2-850A-101B-AFC0-4210102A8DA7}
NumListImages = 1
BeginProperty ListImage1 {0713E8C3-850A-101B-AFC0-4210102A8DA7}
Picture = "frmDemo.frx":0000
Key = ""
EndProperty
EndProperty
End
Begin VB.Label Label1
Caption = "预览:"
BeginProperty Font
Name = "Arial"
Size = 12
Charset = 0
Weight = 700
Underline = -1 'True
Italic = -1 'True
Strikethrough = 0 'False
EndProperty
Height = 375
Index = 1
Left = 5640
TabIndex = 1
Top = 0
Width = 2895
End
Begin VB.Line Line1
BorderWidth = 3
X1 = 5520
X2 = 5520
Y1 = 8640
Y2 = 0
End
Begin VB.Label Label1
Caption = "MSFlexGrid 数据:"
BeginProperty Font
Name = "Arial"
Size = 12
Charset = 0
Weight = 700
Underline = -1 'True
Italic = -1 'True
Strikethrough = 0 'False
EndProperty
Height = 375
Index = 0
Left = 120
TabIndex = 0
Top = 0
Width = 2895
End
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -