home *** CD-ROM | disk | FTP | other *** search
/ Mastering Visual Basic 6 / mastvb6.iso / ch_code / ch04 / pvars / form1.frm (.txt) next >
Encoding:
Visual Basic Form  |  1996-04-06  |  1.2 KB  |  40 lines

  1. VERSION 5.00
  2. Begin VB.Form Form1 
  3.    Caption         =   "Form1"
  4.    ClientHeight    =   1440
  5.    ClientLeft      =   60
  6.    ClientTop       =   345
  7.    ClientWidth     =   4635
  8.    LinkTopic       =   "Form1"
  9.    ScaleHeight     =   1440
  10.    ScaleWidth      =   4635
  11.    StartUpPosition =   3  'Windows Default
  12.    Begin VB.CommandButton Command1 
  13.       Caption         =   "Read Customer Name"
  14.       BeginProperty Font 
  15.          Name            =   "Verdana"
  16.          Size            =   9.75
  17.          Charset         =   0
  18.          Weight          =   400
  19.          Underline       =   0   'False
  20.          Italic          =   0   'False
  21.          Strikethrough   =   0   'False
  22.       EndProperty
  23.       Height          =   390
  24.       Left            =   1065
  25.       TabIndex        =   0
  26.       Top             =   420
  27.       Width           =   2385
  28.    End
  29. Attribute VB_Name = "Form1"
  30. Attribute VB_GlobalNameSpace = False
  31. Attribute VB_Creatable = False
  32. Attribute VB_PredeclaredId = True
  33. Attribute VB_Exposed = False
  34. Private Sub Command1_Click()
  35.     MsgBox Form2.FName & ", " & Form2.LName
  36. End Sub
  37. Private Sub Form_Load()
  38.     Form2.Show
  39. End Sub
  40.