home *** CD-ROM | disk | FTP | other *** search
/ An Introduction to Progr…l Basic 6.0 (4th Edition) / An Introduction to Programming using Visual Basic 6.0.iso / PROGRAMS / CH11 / 11-1-3.FRM (.txt) < prev    next >
Encoding:
Visual Basic Form  |  1998-09-18  |  2.2 KB  |  77 lines

  1. VERSION 5.00
  2. Begin VB.Form frmTitle 
  3.    Caption         =   "Letter Address"
  4.    ClientHeight    =   2220
  5.    ClientLeft      =   1095
  6.    ClientTop       =   1485
  7.    ClientWidth     =   5220
  8.    BeginProperty Font 
  9.       Name            =   "MS Sans Serif"
  10.       Size            =   8.25
  11.       Charset         =   0
  12.       Weight          =   700
  13.       Underline       =   0   'False
  14.       Italic          =   0   'False
  15.       Strikethrough   =   0   'False
  16.    EndProperty
  17.    LinkTopic       =   "Form1"
  18.    PaletteMode     =   1  'UseZOrder
  19.    ScaleHeight     =   2220
  20.    ScaleWidth      =   5220
  21.    Begin VB.TextBox txtDisplay 
  22.       Height          =   375
  23.       Left            =   2160
  24.       TabIndex        =   5
  25.       Top             =   1680
  26.       Width           =   2895
  27.    End
  28.    Begin VB.CommandButton cmdDisplay 
  29.       Caption         =   "Display Full Name"
  30.       Height          =   375
  31.       Left            =   2760
  32.       TabIndex        =   4
  33.       Top             =   960
  34.       Width           =   1815
  35.    End
  36.    Begin VB.TextBox txtName 
  37.       Height          =   285
  38.       Left            =   2520
  39.       TabIndex        =   1
  40.       Top             =   360
  41.       Width           =   2535
  42.    End
  43.    Begin VB.ComboBox cboTitle 
  44.       Height          =   1545
  45.       ItemData        =   "11-1-3.frx":0000
  46.       Left            =   120
  47.       List            =   "11-1-3.frx":0013
  48.       Style           =   1  'Simple Combo
  49.       TabIndex        =   0
  50.       Top             =   360
  51.       Width           =   1935
  52.    End
  53.    Begin VB.Label lblName 
  54.       Caption         =   "Name"
  55.       Height          =   255
  56.       Left            =   2520
  57.       TabIndex        =   3
  58.       Top             =   120
  59.       Width           =   615
  60.    End
  61.    Begin VB.Label lblTitle 
  62.       Caption         =   "Title"
  63.       Height          =   255
  64.       Left            =   120
  65.       TabIndex        =   2
  66.       Top             =   120
  67.       Width           =   495
  68.    End
  69. Attribute VB_Name = "frmTitle"
  70. Attribute VB_GlobalNameSpace = False
  71. Attribute VB_Creatable = False
  72. Attribute VB_PredeclaredId = True
  73. Attribute VB_Exposed = False
  74. Private Sub cmdDisplay_Click()
  75.   txtDisplay.Text = cboTitle.Text & " " & txtName.Text
  76. End Sub
  77.