home *** CD-ROM | disk | FTP | other *** search
/ Mastering Visual Basic 5 / MasteringVisualBasic5.iso / ch_code / ch09 / mdidemo2 / mdiform2.frm (.txt) < prev   
Encoding:
Visual Basic Form  |  1997-02-20  |  680 b   |  24 lines

  1. VERSION 5.00
  2. Begin VB.Form ChildForm 
  3.    Caption         =   "Form1"
  4.    ClientHeight    =   2550
  5.    ClientLeft      =   60
  6.    ClientTop       =   345
  7.    ClientWidth     =   5055
  8.    LinkTopic       =   "Form1"
  9.    MDIChild        =   -1  'True
  10.    ScaleHeight     =   2550
  11.    ScaleWidth      =   5055
  12. Attribute VB_Name = "ChildForm"
  13. Attribute VB_GlobalNameSpace = False
  14. Attribute VB_Creatable = False
  15. Attribute VB_PredeclaredId = True
  16. Attribute VB_Exposed = False
  17. Option Explicit
  18. Private Sub Form_GotFocus()
  19.     Me.Caption = "I've been activated!"
  20. End Sub
  21. Private Sub Form_LostFocus()
  22.     Me.Caption = "Document " & Format(Me.Tag)
  23. End Sub
  24.