📄 frmfieldinfor.frm
字号:
VERSION 5.00
Begin VB.Form FrmFieldInfor
BorderStyle = 1 'Fixed Single
Caption = "字段类型介绍"
ClientHeight = 7800
ClientLeft = 4020
ClientTop = 1080
ClientWidth = 8700
Icon = "FrmFieldInfor.frx":0000
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 7800
ScaleWidth = 8700
Begin VB.VScrollBar VScroll1
Height = 7740
Left = 8460
TabIndex = 1
Top = 40
Width = 255
End
Begin VB.PictureBox Picture1
Appearance = 0 'Flat
BackColor = &H80000005&
ForeColor = &H80000008&
Height = 7695
Left = 40
ScaleHeight = 7665
ScaleWidth = 8385
TabIndex = 0
Top = 40
Width = 8415
Begin VB.OLE OLE1
Appearance = 0 'Flat
AutoVerbMenu = 0 'False
BackStyle = 0 'Transparent
Class = "Excel.Sheet.8"
Enabled = 0 'False
Height = 15555
Left = 0
OleObjectBlob = "FrmFieldInfor.frx":0442
SizeMode = 2 'AutoSize
TabIndex = 2
Top = 0
Width = 7980
End
End
End
Attribute VB_Name = "FrmFieldInfor"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Form_Resize()
'SetTopMostWindow Me.hwnd, True '使窗体位于最顶端
' HScroll1.Value = 0
VScroll1.Value = 0
With OLE1
' .CreateLink (Text1.Text) 'Text1.Text内容可设为c:\myexcel.xls等
' HScroll1.Max = .Width - Picture1.Width + 20
' HScroll1.LargeChange = .Width / 10
' HScroll1.SmallChange = .Width / 20
VScroll1.Max = .Height - Picture1.Height + 200
VScroll1.LargeChange = .Height / 10
VScroll1.SmallChange = .Height / 20
End With
End Sub
Private Sub VScroll1_Change()
OLE1.Top = -VScroll1.Value
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -