home *** CD-ROM | disk | FTP | other *** search
/ Mastering Visual Basic 5 / MasteringVisualBasic5.iso / ch_code / ch04 / forms / forms2.frm (.txt) < prev    next >
Encoding:
Visual Basic Form  |  1997-02-20  |  1.2 KB  |  44 lines

  1. VERSION 5.00
  2. Begin VB.Form Form2 
  3.    Caption         =   "Form2"
  4.    ClientHeight    =   3750
  5.    ClientLeft      =   60
  6.    ClientTop       =   345
  7.    ClientWidth     =   4215
  8.    LinkTopic       =   "Form2"
  9.    ScaleHeight     =   3750
  10.    ScaleWidth      =   4215
  11.    StartUpPosition =   3  'Windows Default
  12.    Begin VB.CommandButton HideForm 
  13.       Caption         =   "Hide This Form"
  14.       Height          =   375
  15.       Left            =   2280
  16.       TabIndex        =   1
  17.       Top             =   3240
  18.       Width           =   1815
  19.    End
  20.    Begin VB.PictureBox Picture1 
  21.       Height          =   2895
  22.       Left            =   120
  23.       Picture         =   "Forms2.frx":0000
  24.       ScaleHeight     =   2835
  25.       ScaleWidth      =   3915
  26.       TabIndex        =   0
  27.       Top             =   120
  28.       Width           =   3975
  29.    End
  30. Attribute VB_Name = "Form2"
  31. Attribute VB_GlobalNameSpace = False
  32. Attribute VB_Creatable = False
  33. Attribute VB_PredeclaredId = True
  34. Attribute VB_Exposed = False
  35. Private Sub Form_Activate()
  36.     Form2.Caption = "Form2 Activated"
  37. End Sub
  38. Private Sub Form_Deactivate()
  39.     Form2.Caption = "Form2 Inactive"
  40. End Sub
  41. Private Sub HideForm_Click()
  42.     Form2.Hide
  43. End Sub
  44.