📄 form12.frm
字号:
VERSION 5.00
Begin VB.Form Form3
Caption = "Form3"
ClientHeight = 7272
ClientLeft = 48
ClientTop = 348
ClientWidth = 8868
LinkTopic = "Form3"
ScaleHeight = 7272
ScaleWidth = 8868
StartUpPosition = 3 '窗口缺省
WindowState = 2 'Maximized
Begin VB.VScrollBar VScroll1
Height = 1932
Left = 8040
TabIndex = 1
Top = 0
Width = 252
End
Begin VB.PictureBox Picture1
AutoRedraw = -1 'True
BackColor = &H00FFFFFF&
Height = 6612
Left = 120
ScaleHeight = 6564
ScaleWidth = 7644
TabIndex = 2
Top = 120
Width = 7692
End
Begin VB.HScrollBar HScroll1
Height = 132
Left = 120
TabIndex = 0
Top = 6960
Width = 4212
End
End
Attribute VB_Name = "Form3"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Form_Load()
Form_Resize
End Sub
Private Sub Form_Resize()
On Error Resume Next
Me.HScroll1.Max = Me.Picture1.Width - Me.Width
Me.VScroll1.Max = Me.Picture1.Height - Me.Height
Me.HScroll1.top = Me.Height - Me.HScroll1.Height - 300
Me.VScroll1.Left = Me.ScaleWidth - 300
Me.VScroll1.Height = Me.Height - Me.HScroll1.Height
Me.HScroll1.Width = Me.ScaleWidth - 300
End Sub
'##################################################################
'## 过程名称:Form_Unload
'## 参数:Cancel 为Integer型
'##################################################################
Private Sub Form_Unload(Cancel As Integer)
jl_pz1 = 0
jl_pz = 0
''jl_zg = 0
'‘mainfrm.Picture1.Visible = True
End Sub
Private Sub VScroll1_Change()
Me.Picture1.top = -Me.VScroll1.Value
Me.Picture1.refresh
End Sub
Private Sub VScroll1_Scroll()
Me.Picture1.top = -Me.VScroll1.Value
Me.Picture1.refresh
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -