form2.frm

来自「E:StudyVBCodeStayTop.zip」· FRM 代码 · 共 102 行

FRM
102
字号
VERSION 4.00
Begin VB.Form Form2 
   Appearance      =   0  'Flat
   AutoRedraw      =   -1  'True
   BackColor       =   &H80000005&
   BorderStyle     =   3  'Fixed Dialog
   Caption         =   "About Grad.bas and Gradient Background Demonstration"
   ClientHeight    =   3495
   ClientLeft      =   2730
   ClientTop       =   1680
   ClientWidth     =   6615
   ControlBox      =   0   'False
   Height          =   3900
   Left            =   2670
   LinkTopic       =   "Form2"
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   3495
   ScaleWidth      =   6615
   ShowInTaskbar   =   0   'False
   Top             =   1335
   Width           =   6735
   Begin VB.CommandButton Command1 
      Caption         =   "Cool. I like it!"
      Height          =   375
      Left            =   5280
      TabIndex        =   1
      Top             =   2880
      Width           =   1095
   End
   Begin VB.Label Label4 
      BackStyle       =   0  'Transparent
      Caption         =   "patr@xanadu2.net"
      BeginProperty Font 
         name            =   "MS Sans Serif"
         charset         =   0
         weight          =   400
         size            =   24
         underline       =   0   'False
         italic          =   0   'False
         strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H00FFFFFF&
      Height          =   495
      Left            =   360
      TabIndex        =   4
      Top             =   2760
      Width           =   4575
   End
   Begin VB.Label Label3 
      BackStyle       =   0  'Transparent
      Caption         =   $"Form2.frx":0000
      ForeColor       =   &H00000000&
      Height          =   1215
      Left            =   360
      TabIndex        =   3
      Top             =   1680
      Width           =   6015
   End
   Begin VB.Label Label2 
      BackStyle       =   0  'Transparent
      Caption         =   $"Form2.frx":018C
      Height          =   855
      Left            =   360
      TabIndex        =   2
      Top             =   600
      Width           =   6015
   End
   Begin VB.Label Label1 
      Alignment       =   2  'Center
      BackStyle       =   0  'Transparent
      Caption         =   "Gradient Background by John Rogers"
      BeginProperty Font 
         name            =   "MS Sans Serif"
         charset         =   0
         weight          =   400
         size            =   18
         underline       =   0   'False
         italic          =   0   'False
         strikethrough   =   0   'False
      EndProperty
      Height          =   495
      Left            =   240
      TabIndex        =   0
      Top             =   120
      Width           =   6135
   End
End
Attribute VB_Name = "Form2"
Attribute VB_Creatable = False
Attribute VB_Exposed = False
Private Sub Command1_Click()
    Form2.Visible = False
    Unload Form2
End Sub

Private Sub Form_Resize()
    Gradient Me, 222, 239, 245, 1
End Sub


⌨️ 快捷键说明

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