home *** CD-ROM | disk | FTP | other *** search
/ Mastering Visual Basic 6 / mastvb6.iso / ch_code / ch04 / forms / forms2.frm (.txt) < prev    next >
Encoding:
Visual Basic Form  |  1996-03-07  |  1.3 KB  |  45 lines

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