home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Source Code / Visual Basic Source Code.iso / vbsource / wwais103 / setup.frm (.txt) < prev    next >
Encoding:
Visual Basic Form  |  1995-05-08  |  1.9 KB  |  69 lines

  1. VERSION 2.00
  2. Begin Form Form1 
  3.    BackColor       =   &H00808080&
  4.    Caption         =   "Setup"
  5.    ClientHeight    =   2490
  6.    ClientLeft      =   2535
  7.    ClientTop       =   2730
  8.    ClientWidth     =   5475
  9.    Height          =   2895
  10.    Left            =   2475
  11.    LinkMode        =   1  'Source
  12.    LinkTopic       =   "Form1"
  13.    ScaleHeight     =   2490
  14.    ScaleWidth      =   5475
  15.    Top             =   2385
  16.    Width           =   5595
  17.    Begin Frame Frame1 
  18.       BackColor       =   &H00808080&
  19.       Height          =   1815
  20.       Left            =   600
  21.       TabIndex        =   0
  22.       Top             =   360
  23.       Width           =   4215
  24.       Begin CommandButton Command2 
  25.          Caption         =   "Cancel"
  26.          Height          =   375
  27.          Left            =   2400
  28.          TabIndex        =   1
  29.          Top             =   1320
  30.          Width           =   1335
  31.       End
  32.       Begin CommandButton Command1 
  33.          Caption         =   "Ok"
  34.          Height          =   375
  35.          Left            =   360
  36.          TabIndex        =   4
  37.          Top             =   1320
  38.          Width           =   1215
  39.       End
  40.       Begin TextBox Text2 
  41.          BackColor       =   &H00FFFFC0&
  42.          Height          =   375
  43.          Left            =   2400
  44.          TabIndex        =   2
  45.          Top             =   600
  46.          Width           =   735
  47.       End
  48.       Begin Label Label1 
  49.          BackColor       =   &H00808080&
  50.          Caption         =   "Max Docs to Retrieve"
  51.          Height          =   375
  52.          Left            =   240
  53.          TabIndex        =   3
  54.          Top             =   600
  55.          Width           =   2055
  56.       End
  57.    End
  58. Sub Command1_Click ()
  59.     max_docs% = Val(Text2.text)
  60.     If max_docs% > 150 Then
  61.     max_docs% = 150
  62.     End If
  63.      i = set_maxdocs(max_docs%)
  64.     form1.Hide
  65. End Sub
  66. Sub Command2_Click ()
  67. form1.Hide
  68. End Sub
  69.