help.frm

来自「This application i made for handle simpl」· FRM 代码 · 共 91 行

FRM
91
字号
VERSION 5.00
Begin VB.Form frmHelp 
   BackColor       =   &H00FBF7F4&
   Caption         =   "License"
   ClientHeight    =   2895
   ClientLeft      =   60
   ClientTop       =   345
   ClientWidth     =   5700
   BeginProperty Font 
      Name            =   "Verdana"
      Size            =   8.25
      Charset         =   0
      Weight          =   400
      Underline       =   0   'False
      Italic          =   0   'False
      Strikethrough   =   0   'False
   EndProperty
   Icon            =   "Help.frx":0000
   MDIChild        =   -1  'True
   ScaleHeight     =   193
   ScaleMode       =   3  'Pixel
   ScaleWidth      =   380
   WindowState     =   2  'Maximized
   Begin VB.TextBox txtHelp 
      Appearance      =   0  'Flat
      BeginProperty Font 
         Name            =   "Segoe UI"
         Size            =   8.25
         Charset         =   0
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   2655
      Left            =   120
      MultiLine       =   -1  'True
      ScrollBars      =   2  'Vertical
      TabIndex        =   0
      Text            =   "Help.frx":0EBA
      Top             =   120
      Width           =   5415
   End
End
Attribute VB_Name = "frmHelp"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False

Option Explicit

Dim FileO As Integer
Dim Ftxt As String
Private lx As MSComctlLib.ListItem

Private Sub Form_Activate()

  mdiDefault.ihdDefault.Text = Me.Caption

End Sub

Private Sub Form_Load()

  txtHelp = App.Path & "\License.txt"
  On Error Resume Next
  FileO = FreeFile
  Open txtHelp For Input As #FileO
  Ftxt = Input(LOF(FileO), 1)
  Close #FileO
  frmHelp.txtHelp.Text = Ftxt
  Err.Clear
  
  txtHelp.Locked = True
  
End Sub

Private Sub Form_Unload(Cancel As Integer)

  mdiDefault.tmrClose.Enabled = True

End Sub

Private Sub Form_Resize()
On Error Resume Next

  txtHelp.Width = Me.ScaleWidth - 20
  txtHelp.Height = Me.ScaleHeight - 20

End Sub

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?