⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 frmtest.frm

📁 Visual basic 数据库编程技术与实例源码 源码
💻 FRM
字号:
VERSION 5.00
Begin VB.Form frmTest 
   Caption         =   "Form1"
   ClientHeight    =   4980
   ClientLeft      =   165
   ClientTop       =   855
   ClientWidth     =   7185
   LinkTopic       =   "Form1"
   ScaleHeight     =   4980
   ScaleWidth      =   7185
   StartUpPosition =   3  '窗口缺省
   Begin VB.PictureBox PicCaption 
      AutoRedraw      =   -1  'True
      AutoSize        =   -1  'True
      BorderStyle     =   0  'None
      BeginProperty Font 
         Name            =   "MS Sans Serif"
         Size            =   8.25
         Charset         =   0
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   720
      Left            =   -360
      Picture         =   "frmTest.frx":0000
      ScaleHeight     =   720
      ScaleWidth      =   9600
      TabIndex        =   0
      TabStop         =   0   'False
      Top             =   960
      Visible         =   0   'False
      Width           =   9600
      Begin VB.PictureBox PicBorder 
         AutoRedraw      =   -1  'True
         AutoSize        =   -1  'True
         BorderStyle     =   0  'None
         BeginProperty Font 
            Name            =   "MS Sans Serif"
            Size            =   8.25
            Charset         =   0
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   150
         Left            =   1440
         Picture         =   "frmTest.frx":16844
         ScaleHeight     =   150
         ScaleWidth      =   1050
         TabIndex        =   1
         TabStop         =   0   'False
         Top             =   360
         Visible         =   0   'False
         Width           =   1050
      End
   End
   Begin VB.Menu dsfsd 
      Caption         =   "文件(&F)"
      Begin VB.Menu sdff 
         Caption         =   "dsf"
      End
   End
End
Attribute VB_Name = "frmTest"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private m_cN As cNeoCaption

Private Sub Skin(f As Form, cN As cNeoCaption)
    '活动窗口标题颜色
    cN.ActiveCaptionColor = &HFFFFFF
    '非活动窗口标题颜色
    cN.InActiveCaptionColor = &HC0C0C0
    '活动菜单颜色
    cN.ActiveMenuColor = &H0&
    '活动菜单颜色--鼠标移动到其上时
    cN.ActiveMenuColorOver = &H0
    '非活动菜单颜色
    cN.InActiveMenuColor = &H0&
    '菜单背景色
    cN.MenuBackgroundColor = RGB(207, 203, 207)
    '窗口标题的字体
    cN.CaptionFont.Name = "宋体"
    '窗口标题字体的大小
    cN.CaptionFont.Size = 9
    '菜单子体
    cN.MenuFont.Name = "宋体"
    '菜单子体的颜色
    cN.MenuFont.Size = 9
    '改变窗体风格
    cN.Attach f, f.PicCaption.Picture, f.PicBorder.Picture, 19, 20, 90, 140, 240, 400
    '窗体背景色
    f.BackColor = RGB(207, 203, 207)
End Sub

Private Sub Form_Load()
    Set m_cN = New cNeoCaption
    Skin Me, m_cN
End Sub

⌨️ 快捷键说明

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