vbAccelerator - Contents of code file: fTest.frm

VERSION 5.00
Begin VB.Form frmTest 
   Caption         =   "Child Form"
   ClientHeight    =   4560
   ClientLeft      =   5010
   ClientTop       =   4590
   ClientWidth     =   6585
   LinkTopic       =   "Form1"
   MDIChild        =   -1  'True
   ScaleHeight     =   4560
   ScaleWidth      =   6585
   Begin VB.CommandButton cmdNonMDI 
      Caption         =   "Non-MDI Test"
      Height          =   375
      Left            =   180
      TabIndex        =   1
      Top             =   660
      Width           =   1395
   End
   Begin VB.CommandButton cmdCaption 
      Caption         =   "Change Caption"
      Height          =   375
      Left            =   180
      TabIndex        =   0
      Top             =   180
      Width           =   1395
   End
End
Attribute VB_Name = "frmTest"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit


Private Sub cmdCaption_Click()
If (Me.Caption = "Child Form") Then
   Me.Caption = Me.Name
Else
   Me.Caption = "Child Form"
End If
mfrmMain.RefreshCaption
End Sub

Private Sub cmdNonMDI_Click()
    frmNonMDI.Show
End Sub