home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgramD2.iso / Visual Database / Visual BASIC 5.0 (Ent. Edition) / Vb5ent Extractor.EXE / VB / SAMPLES / PGUIDE / OPTIMIZE / FRMSHOW2.FRM (.txt) < prev    next >
Encoding:
Visual Basic Form  |  1996-09-16  |  3.3 KB  |  110 lines

  1. VERSION 5.00
  2. Begin VB.Form frmShow2 
  3.    Caption         =   "Form2"
  4.    ClientHeight    =   1545
  5.    ClientLeft      =   1740
  6.    ClientTop       =   4425
  7.    ClientWidth     =   4410
  8.    BeginProperty Font 
  9.       Name            =   "MS Sans Serif"
  10.       Size            =   8.25
  11.       Charset         =   0
  12.       Weight          =   700
  13.       Underline       =   0   'False
  14.       Italic          =   0   'False
  15.       Strikethrough   =   0   'False
  16.    EndProperty
  17.    ForeColor       =   &H80000008&
  18.    LinkTopic       =   "Form2"
  19.    LockControls    =   -1  'True
  20.    PaletteMode     =   1  'UseZOrder
  21.    ScaleHeight     =   1545
  22.    ScaleWidth      =   4410
  23.    Begin VB.CommandButton Command3 
  24.       Appearance      =   0  'Flat
  25.       BackColor       =   &H80000005&
  26.       Caption         =   "Set Form1 = Nothing"
  27.       BeginProperty Font 
  28.          Name            =   "MS Sans Serif"
  29.          Size            =   8.25
  30.          Charset         =   0
  31.          Weight          =   400
  32.          Underline       =   0   'False
  33.          Italic          =   0   'False
  34.          Strikethrough   =   0   'False
  35.       EndProperty
  36.       Height          =   495
  37.       Left            =   2895
  38.       TabIndex        =   2
  39.       Top             =   300
  40.       Width           =   1365
  41.    End
  42.    Begin VB.CommandButton Command2 
  43.       Appearance      =   0  'Flat
  44.       BackColor       =   &H80000005&
  45.       Caption         =   "Unload Form1"
  46.       BeginProperty Font 
  47.          Name            =   "MS Sans Serif"
  48.          Size            =   8.25
  49.          Charset         =   0
  50.          Weight          =   400
  51.          Underline       =   0   'False
  52.          Italic          =   0   'False
  53.          Strikethrough   =   0   'False
  54.       EndProperty
  55.       Height          =   495
  56.       Left            =   1545
  57.       TabIndex        =   1
  58.       Top             =   300
  59.       Width           =   1215
  60.    End
  61.    Begin VB.CommandButton Command1 
  62.       Appearance      =   0  'Flat
  63.       BackColor       =   &H80000005&
  64.       Caption         =   "Show Form1"
  65.       BeginProperty Font 
  66.          Name            =   "MS Sans Serif"
  67.          Size            =   8.25
  68.          Charset         =   0
  69.          Weight          =   400
  70.          Underline       =   0   'False
  71.          Italic          =   0   'False
  72.          Strikethrough   =   0   'False
  73.       EndProperty
  74.       Height          =   495
  75.       Left            =   135
  76.       TabIndex        =   0
  77.       Top             =   285
  78.       Width           =   1215
  79.    End
  80.    Begin VB.Label lblStatus 
  81.       BackColor       =   &H00FFFFFF&
  82.       BorderStyle     =   1  'Fixed Single
  83.       Height          =   420
  84.       Left            =   165
  85.       TabIndex        =   3
  86.       Top             =   990
  87.       Width           =   4080
  88.    End
  89. Attribute VB_Name = "frmShow2"
  90. Attribute VB_GlobalNameSpace = False
  91. Attribute VB_Creatable = False
  92. Attribute VB_TemplateDerived = False
  93. Attribute VB_PredeclaredId = True
  94. Attribute VB_Exposed = False
  95. Option Explicit
  96. Private Sub Command1_Click()
  97.   frmShow1.Show
  98. End Sub
  99. Private Sub Command2_Click()
  100.   Unload frmShow1
  101.   lblStatus.Caption = ""
  102. End Sub
  103. Private Sub Command3_Click()
  104.   Set frmShow1 = Nothing
  105. End Sub
  106. Private Sub Form_Load()
  107.   Me.Left = frmExplore.Width + 600
  108.   Me.Top = (Screen.Height - Me.Height) * 0.9
  109. End Sub
  110.