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

📄 例[6-15].frm

📁 蒋加伏主编VB程序设计第四版PPT及全部课本源码 北京邮电大学出版社 Visual Basic 程序设计教程(第四版) 主编 蒋加伏 张林峰 找了好久的(不带密码的)
💻 FRM
字号:
VERSION 5.00
Begin VB.Form Form1 
   Caption         =   "例[6-15] 组合框示例"
   ClientHeight    =   2445
   ClientLeft      =   60
   ClientTop       =   345
   ClientWidth     =   3495
   LinkTopic       =   "Form1"
   ScaleHeight     =   2445
   ScaleWidth      =   3495
   StartUpPosition =   3  '窗口缺省
   Begin VB.ComboBox Cb2 
      Height          =   300
      ItemData        =   "例[6-15].frx":0000
      Left            =   2040
      List            =   "例[6-15].frx":000D
      TabIndex        =   4
      Text            =   "Combo2"
      Top             =   720
      Width           =   1095
   End
   Begin VB.ComboBox Cb1 
      Height          =   300
      ItemData        =   "例[6-15].frx":0023
      Left            =   240
      List            =   "例[6-15].frx":0030
      TabIndex        =   3
      Text            =   "Combo1"
      Top             =   720
      Width           =   1335
   End
   Begin VB.Label Label3 
      Caption         =   "欢迎使用VB6.0"
      Height          =   615
      Left            =   720
      TabIndex        =   2
      Top             =   1440
      Width           =   2535
   End
   Begin VB.Label Label2 
      Caption         =   "字体"
      Height          =   255
      Left            =   2040
      TabIndex        =   1
      Top             =   360
      Width           =   975
   End
   Begin VB.Label Label1 
      Caption         =   "字号"
      Height          =   375
      Left            =   360
      TabIndex        =   0
      Top             =   360
      Width           =   1095
   End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Cb1_Click()
  Label3.FontSize = Cb1.Text   '根据组合框中选定的值设置标签的字号
End Sub
Private Sub Cb2_Click()
  Label3.FontName = Cb2.Text   '根据组合框中选定的值设置标签的字体
End Sub

⌨️ 快捷键说明

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