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

📄 form2.frm

📁 这里有很多很实用的VB编程案例,方便大家学习VB.
💻 FRM
📖 第 1 页 / 共 2 页
字号:
VERSION 5.00
Object = "{F9043C88-F6F2-101A-A3C9-08002B2F49FB}#1.2#0"; "COMDLG32.OCX"
Object = "{6B7E6392-850A-101B-AFC0-4210102A8DA7}#1.3#0"; "COMCTL32.OCX"
Begin VB.Form Form2 
   BorderStyle     =   3  'Fixed Dialog
   Caption         =   "状态栏控件的属性"
   ClientHeight    =   3990
   ClientLeft      =   2220
   ClientTop       =   2460
   ClientWidth     =   6030
   LinkTopic       =   "Form1"
   LockControls    =   -1  'True
   MaxButton       =   0   'False
   MinButton       =   0   'False
   PaletteMode     =   1  'UseZOrder
   ScaleHeight     =   3990
   ScaleWidth      =   6030
   ShowInTaskbar   =   0   'False
   Begin VB.CommandButton cmdApply 
      Caption         =   "Apply"
      Enabled         =   0   'False
      Height          =   375
      Left            =   4680
      TabIndex        =   3
      Top             =   3600
      Width           =   1215
   End
   Begin VB.CommandButton cmdCancel 
      Caption         =   "Cancel"
      Height          =   375
      Left            =   3360
      TabIndex        =   2
      Top             =   3600
      Width           =   1215
   End
   Begin VB.CommandButton cmdOK 
      Caption         =   "OK"
      Height          =   375
      Left            =   2040
      TabIndex        =   1
      Top             =   3600
      Width           =   1215
   End
   Begin VB.PictureBox picGeneral 
      Appearance      =   0  'Flat
      BackColor       =   &H00C0C0C0&
      BorderStyle     =   0  'None
      ForeColor       =   &H80000008&
      Height          =   2895
      Left            =   240
      ScaleHeight     =   2895
      ScaleWidth      =   5535
      TabIndex        =   8
      Top             =   480
      Width           =   5535
      Begin VB.TextBox txtHeight 
         Height          =   375
         Left            =   3720
         TabIndex        =   19
         Text            =   "txtHeight"
         Top             =   1800
         Width           =   1095
      End
      Begin VB.TextBox txtWidth 
         Height          =   375
         Left            =   1080
         TabIndex        =   18
         Text            =   "txtWidth"
         Top             =   1800
         Width           =   1095
      End
      Begin VB.TextBox txtLeft 
         Height          =   375
         Left            =   3720
         TabIndex        =   17
         Text            =   "txtLeft"
         Top             =   1320
         Width           =   1095
      End
      Begin VB.TextBox txtTop 
         Height          =   375
         Left            =   1080
         TabIndex        =   16
         Text            =   "txtTop"
         Top             =   1320
         Width           =   1095
      End
      Begin VB.TextBox txtSimpleText 
         Height          =   375
         Left            =   1080
         TabIndex        =   12
         Text            =   "txtSimpleText"
         Top             =   840
         Width           =   3735
      End
      Begin VB.ComboBox cboAlign 
         Height          =   300
         ItemData        =   "Form2.frx":0000
         Left            =   1080
         List            =   "Form2.frx":000D
         Style           =   2  'Dropdown List
         TabIndex        =   11
         Top             =   480
         Width           =   3735
      End
      Begin VB.ComboBox cboStyle 
         Height          =   300
         ItemData        =   "Form2.frx":003B
         Left            =   1080
         List            =   "Form2.frx":0045
         Style           =   2  'Dropdown List
         TabIndex        =   10
         Top             =   120
         Width           =   3735
      End
      Begin VB.CheckBox chkEnabled 
         Caption         =   "Enabled"
         Height          =   255
         Left            =   3720
         TabIndex        =   9
         Top             =   2280
         Width           =   1575
      End
      Begin VB.Label Label 
         AutoSize        =   -1  'True
         Caption         =   "Height:"
         Height          =   195
         Index           =   6
         Left            =   2760
         TabIndex        =   23
         Top             =   1800
         Width           =   510
      End
      Begin VB.Label Label 
         AutoSize        =   -1  'True
         Caption         =   "Left:"
         Height          =   195
         Index           =   5
         Left            =   2760
         TabIndex        =   22
         Top             =   1320
         Width           =   315
      End
      Begin VB.Label Label 
         AutoSize        =   -1  'True
         Caption         =   "Width:"
         Height          =   195
         Index           =   4
         Left            =   120
         TabIndex        =   21
         Top             =   1800
         Width           =   465
      End
      Begin VB.Label Label 
         AutoSize        =   -1  'True
         BorderStyle     =   1  'Fixed Single
         Caption         =   "Top:"
         Height          =   240
         Index           =   3
         Left            =   120
         TabIndex        =   20
         Top             =   1320
         Width           =   420
      End
      Begin VB.Label Label 
         AutoSize        =   -1  'True
         Caption         =   "SimpleText"
         Height          =   195
         Index           =   1
         Left            =   0
         TabIndex        =   15
         Top             =   840
         Width           =   780
      End
      Begin VB.Label Label 
         AutoSize        =   -1  'True
         Caption         =   "Align"
         Height          =   195
         Index           =   2
         Left            =   0
         TabIndex        =   14
         Top             =   480
         Width           =   345
      End
      Begin VB.Label Label 
         AutoSize        =   -1  'True
         Caption         =   "Style:"
         Height          =   195
         Index           =   0
         Left            =   0
         TabIndex        =   13
         Top             =   120
         Width           =   390
      End
   End
   Begin VB.PictureBox picPanels 
      Appearance      =   0  'Flat
      BackColor       =   &H00C0C0C0&
      BorderStyle     =   0  'None
      ForeColor       =   &H80000008&
      Height          =   2895
      Left            =   240
      ScaleHeight     =   2895
      ScaleWidth      =   5535
      TabIndex        =   4
      Top             =   480
      Width           =   5535
      Begin VB.CommandButton cmdNextPanel 
         Caption         =   " >"
         Enabled         =   0   'False
         BeginProperty Font 
            Name            =   "MS Sans Serif"
            Size            =   8.25
            Charset         =   0
            Weight          =   700
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   315
         Left            =   1875
         TabIndex        =   46
         Top             =   105
         Width           =   285
      End
      Begin VB.CommandButton cmdPrevPanel 
         Caption         =   " <"
         Enabled         =   0   'False
         BeginProperty Font 
            Name            =   "MS Sans Serif"
            Size            =   8.25
            Charset         =   0
            Weight          =   700
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   315
         Left            =   1580
         TabIndex        =   45
         Top             =   105
         Width           =   285
      End
      Begin VB.TextBox txtMinWidth 
         Enabled         =   0   'False
         Height          =   285
         Left            =   3720
         TabIndex        =   42
         Text            =   "txtMinWidth"
         Top             =   600
         Width           =   1695
      End
      Begin VB.CommandButton cmdRemove 
         Caption         =   "Remove Panel"
         Enabled         =   0   'False
         Height          =   315
         Left            =   4080
         TabIndex        =   41
         Top             =   120
         Width           =   1335
      End
      Begin VB.CommandButton cmdInsert 
         Caption         =   "Insert Panel"
         Height          =   315
         Left            =   2520
         TabIndex        =   40
         Top             =   120
         Width           =   1335
      End
      Begin VB.Frame frmPicture 
         Caption         =   "Picture"
         Height          =   1215
         Left            =   3360
         TabIndex        =   39
         Top             =   1560
         Width           =   2055
         Begin VB.CommandButton cmdNoPicture 
            Caption         =   "No Picture"
            Enabled         =   0   'False
            Height          =   375
            Left            =   1080
            TabIndex        =   44
            Top             =   720
            Width           =   900
         End
         Begin VB.CommandButton cmdBrowse 
            Caption         =   "Browse"
            Enabled         =   0   'False
            Height          =   375
            Left            =   1080
            TabIndex        =   43
            Top             =   300
            Width           =   900
         End
         Begin VB.Image imgPanelPicture 
            BorderStyle     =   1  'Fixed Single
            Height          =   765
            Left            =   105
            Stretch         =   -1  'True
            Top             =   315
            Width           =   900
         End
      End
      Begin VB.CheckBox chkPanelVisible 
         Caption         =   "Visible"
         Enabled         =   0   'False
         Height          =   255
         Left            =   2400
         TabIndex        =   38
         Top             =   2160
         Width           =   735
      End
      Begin VB.CheckBox chkPanelEnabled 
         Caption         =   "Enabled"
         Enabled         =   0   'False
         Height          =   255
         Left            =   2400
         TabIndex        =   37
         Top             =   1800
         Width           =   855
      End
      Begin VB.ComboBox cboAutosize 
         Enabled         =   0   'False
         Height          =   300
         ItemData        =   "Form2.frx":007D
         Left            =   840
         List            =   "Form2.frx":008A
         Style           =   2  'Dropdown List
         TabIndex        =   34
         Top             =   2520
         Width           =   1455
      End
      Begin VB.ComboBox cboBevel 
         Enabled         =   0   'False
         Height          =   300
         ItemData        =   "Form2.frx":00B1
         Left            =   840
         List            =   "Form2.frx":00BE
         Style           =   2  'Dropdown List
         TabIndex        =   33
         Top             =   2160
         Width           =   1455
      End
      Begin VB.ComboBox cboPnlStyle 
         Enabled         =   0   'False
         Height          =   300
         ItemData        =   "Form2.frx":00E4
         Left            =   840
         List            =   "Form2.frx":00FD
         Style           =   2  'Dropdown List
         TabIndex        =   32
         Top             =   1800
         Width           =   1455
      End
      Begin VB.ComboBox cboAlignment 
         Enabled         =   0   'False
         Height          =   300
         ItemData        =   "Form2.frx":014C
         Left            =   870
         List            =   "Form2.frx":0159
         Style           =   2  'Dropdown List
         TabIndex        =   31
         Top             =   1440
         Width           =   1410
      End
      Begin VB.TextBox txtKey 
         Enabled         =   0   'False
         Height          =   375
         Left            =   840
         TabIndex        =   30
         Text            =   "txtKey"
         Top             =   960
         Width           =   1455
      End
      Begin VB.TextBox txtIndex 
         Enabled         =   0   'False
         Height          =   285
         Left            =   840
         TabIndex        =   29
         Text            =   "txtIndex"
         Top             =   120
         Width           =   735
      End
      Begin VB.TextBox txtText 
         Enabled         =   0   'False
         Height          =   375
         Left            =   840
         TabIndex        =   28
         Text            =   "txtText"
         Top             =   480
         Width           =   1455
      End
      Begin VB.Label lblActualWidth 
         BackColor       =   &H00FFFFFF&
         BorderStyle     =   1  'Fixed Single
         Caption         =   "lblActualWidth"
         Height          =   315
         Left            =   3700
         TabIndex        =   47
         Top             =   960
         Width           =   1725
      End
      Begin VB.Label Label1 
         AutoSize        =   -1  'True
         Caption         =   "Minimum Width:"
         Height          =   195
         Index           =   8
         Left            =   2520
         TabIndex        =   36
         Top             =   600
         Width           =   1125
      End
      Begin VB.Label Label1 
         AutoSize        =   -1  'True
         Caption         =   "Actual Width:"
         Height          =   195
         Index           =   7
         Left            =   2520
         TabIndex        =   35
         Top             =   960
         Width           =   960
      End
      Begin VB.Label Label1 
         AutoSize        =   -1  'True
         Caption         =   "AutoSize:"
         Height          =   195
         Index           =   6
         Left            =   0
         TabIndex        =   27
         Top             =   2520
         Width           =   675
      End
      Begin VB.Label Label1 
         AutoSize        =   -1  'True
         Caption         =   "Bevel:"
         Height          =   195
         Index           =   5
         Left            =   0
         TabIndex        =   26
         Top             =   2160
         Width           =   450
      End
      Begin VB.Label Label1 
         AutoSize        =   -1  'True
         Caption         =   "Style:"
         Height          =   195
         Index           =   4
         Left            =   0
         TabIndex        =   25
         Top             =   1800
         Width           =   390
      End
      Begin VB.Label Label1 
         AutoSize        =   -1  'True
         Caption         =   "Alignment:"
         Height          =   195
         Index           =   3
         Left            =   0
         TabIndex        =   24

⌨️ 快捷键说明

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