home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic 4 Unleashed / Visual_Basic_4_Unleashed_SAMS_Publishing_1995.iso / source / chap36 / dbprop.frm (.txt) < prev    next >
Visual Basic Form  |  1995-08-03  |  4KB  |  117 lines

  1. VERSION 4.00
  2. Begin VB.Form frmDBProperties 
  3.    Caption         =   "Database Properties"
  4.    ClientHeight    =   3930
  5.    ClientLeft      =   2040
  6.    ClientTop       =   1575
  7.    ClientWidth     =   6690
  8.    Height          =   4335
  9.    Left            =   1980
  10.    LinkTopic       =   "Form1"
  11.    LockControls    =   -1  'True
  12.    ScaleHeight     =   3930
  13.    ScaleWidth      =   6690
  14.    Top             =   1230
  15.    Width           =   6810
  16.    Begin VB.CheckBox chkPictures 
  17.       Caption         =   "Show candidate pictures."
  18.       DataField       =   "ShowPictures"
  19.       DataSource      =   "dbaAbout"
  20.       Height          =   315
  21.       Left            =   1080
  22.       TabIndex        =   6
  23.       Top             =   2700
  24.       Width           =   5175
  25.    End
  26.    Begin VB.CommandButton cmdCancel 
  27.       Cancel          =   -1  'True
  28.       Caption         =   "&Cancel"
  29.       Height          =   435
  30.       Left            =   3540
  31.       TabIndex        =   4
  32.       Top             =   3270
  33.       Width           =   1575
  34.    End
  35.    Begin VB.CommandButton cmdOK 
  36.       Caption         =   "&Save"
  37.       Height          =   435
  38.       Left            =   1830
  39.       TabIndex        =   3
  40.       Top             =   3270
  41.       Width           =   1575
  42.    End
  43.    Begin VB.Data dbaAbout 
  44.       Caption         =   "cmdDBProp"
  45.       Connect         =   "Access"
  46.       DatabaseName    =   "C:\SAMS\Maketeam.mdb"
  47.       Exclusive       =   -1  'True
  48.       Height          =   300
  49.       Left            =   210
  50.       Options         =   0
  51.       ReadOnly        =   0   'False
  52.       RecordsetType   =   1  'Dynaset
  53.       RecordSource    =   "tblAboutDatabase"
  54.       Top             =   3420
  55.       Visible         =   0   'False
  56.       Width           =   1140
  57.    End
  58.    Begin VB.TextBox txtSubject 
  59.       DataField       =   "Subject"
  60.       DataSource      =   "dbaAbout"
  61.       Height          =   285
  62.       Left            =   1080
  63.       TabIndex        =   0
  64.       Top             =   180
  65.       Width           =   5265
  66.    End
  67.    Begin VB.Label Label2 
  68.       Alignment       =   1  'Right Justify
  69.       Caption         =   "Detail:"
  70.       Height          =   315
  71.       Left            =   300
  72.       TabIndex        =   5
  73.       Top             =   630
  74.       Width           =   645
  75.    End
  76.    Begin RichtextLib.RichTextBox rtbDetail 
  77.       DataField       =   "Detail"
  78.       DataSource      =   "dbaAbout"
  79.       Height          =   1875
  80.       Left            =   1080
  81.       TabIndex        =   2
  82.       Top             =   630
  83.       Width           =   5265
  84.       _Version        =   65536
  85.       _ExtentX        =   9287
  86.       _ExtentY        =   3307
  87.       _StockProps     =   69
  88.       BackColor       =   -2147483643
  89.       TextRTF         =   $"DBProp.frx":0000
  90.    End
  91.    Begin VB.Label Label1 
  92.       Alignment       =   1  'Right Justify
  93.       Caption         =   "Subject:"
  94.       Height          =   315
  95.       Left            =   180
  96.       TabIndex        =   1
  97.       Top             =   210
  98.       Width           =   765
  99.    End
  100. Attribute VB_Name = "frmDBProperties"
  101. Attribute VB_Creatable = False
  102. Attribute VB_Exposed = False
  103. Option Explicit
  104. Private Sub cmdCancel_Click()
  105.   Unload frmDBProperties
  106. End Sub
  107. Private Sub cmdOK_Click()
  108.   Unload frmDBProperties
  109. End Sub
  110. Private Sub Form_Load()
  111.   Left = (Screen.Width - Width) / 2
  112.   TOP = (Screen.Height - Height) / 2
  113.   MousePointer = 0
  114.   dbaAbout.DatabaseName = gMainDBName
  115.   dbaAbout.Refresh
  116. End Sub
  117.