form1.frm
来自「这里有很多很实用的VB编程案例,方便大家学习VB.」· FRM 代码 · 共 54 行
FRM
54 行
VERSION 5.00
Object = "{F9043C88-F6F2-101A-A3C9-08002B2F49FB}#1.2#0"; "COMDLG32.OCX"
Begin VB.Form Form1
Caption = "调用 Windows 帮助引擎"
ClientHeight = 2100
ClientLeft = 60
ClientTop = 345
ClientWidth = 4620
LinkTopic = "Form1"
ScaleHeight = 2100
ScaleWidth = 4620
StartUpPosition = 3 '窗口缺省
Begin VB.TextBox Text1
Height = 495
Left = 480
TabIndex = 1
Text = "Text1"
Top = 240
Width = 3735
End
Begin VB.CommandButton Command1
Caption = "打开帮助文件"
Height = 495
Left = 1680
TabIndex = 0
Top = 1080
Width = 1695
End
Begin MSComDlg.CommonDialog CommonDialog1
Left = 240
Top = 840
_ExtentX = 847
_ExtentY = 847
_Version = 393216
End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
On Error Resume Next
With CommonDialog1
.HelpFile = Text1.Text
.HelpCommand = cdlHelpContents
.ShowHelp '
End With
End Sub
Private Sub Form_Load()
Text1.Text = App.Path + "\Telnet.hlp"
End Sub
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?