home *** CD-ROM | disk | FTP | other *** search
/ C!T ROM 5 / ctrom5b.zip / ctrom5b / PROGRAM / VISBASIC / EMED16A / SAMPLES / VB / FRMPAGES.FR_ / FRMPAGES.FR
Text File  |  1994-08-24  |  5KB  |  164 lines

  1. VERSION 2.00
  2. Begin Form frmPageSetup 
  3.    BorderStyle     =   3  'Fixed Double
  4.    Caption         =   "Page Setup"
  5.    ClientHeight    =   2304
  6.    ClientLeft      =   816
  7.    ClientTop       =   1476
  8.    ClientWidth     =   4992
  9.    Height          =   2700
  10.    Left            =   780
  11.    LinkTopic       =   "Form1"
  12.    MaxButton       =   0   'False
  13.    MinButton       =   0   'False
  14.    ScaleHeight     =   192
  15.    ScaleMode       =   3  'Pixel
  16.    ScaleWidth      =   416
  17.    Top             =   1116
  18.    Width           =   5064
  19.    Begin TextBox txtFooter 
  20.       Height          =   288
  21.       Left            =   1224
  22.       TabIndex        =   1
  23.       Text            =   "Page &p"
  24.       Top             =   612
  25.       Width           =   1956
  26.    End
  27.    Begin TextBox txtHeader 
  28.       Height          =   300
  29.       Left            =   1224
  30.       TabIndex        =   0
  31.       Text            =   "&f"
  32.       Top             =   144
  33.       Width           =   1956
  34.    End
  35.    Begin Frame Frame1 
  36.       Caption         =   "Margins"
  37.       Height          =   1164
  38.       Left            =   288
  39.       TabIndex        =   8
  40.       Top             =   1008
  41.       Width           =   4368
  42.       Begin TextBox txtTop 
  43.          Height          =   336
  44.          Left            =   1008
  45.          TabIndex        =   4
  46.          Text            =   "1"
  47.          Top             =   684
  48.          Width           =   1020
  49.       End
  50.       Begin TextBox txtBottom 
  51.          Height          =   336
  52.          Left            =   3132
  53.          TabIndex        =   5
  54.          Text            =   "1"
  55.          Top             =   684
  56.          Width           =   1020
  57.       End
  58.       Begin TextBox txtRight 
  59.          Height          =   336
  60.          Left            =   3132
  61.          TabIndex        =   3
  62.          Text            =   ".75"
  63.          Top             =   216
  64.          Width           =   1020
  65.       End
  66.       Begin TextBox txtLeft 
  67.          Height          =   336
  68.          Left            =   1008
  69.          TabIndex        =   2
  70.          Text            =   ".75"
  71.          Top             =   216
  72.          Width           =   1020
  73.       End
  74.       Begin Label Label4 
  75.          Alignment       =   1  'Right Justify
  76.          Caption         =   "&Top:"
  77.          Height          =   300
  78.          Left            =   144
  79.          TabIndex        =   12
  80.          Top             =   720
  81.          Width           =   804
  82.       End
  83.       Begin Label Label3 
  84.          Alignment       =   1  'Right Justify
  85.          Caption         =   "&Left:"
  86.          Height          =   264
  87.          Left            =   324
  88.          TabIndex        =   11
  89.          Top             =   252
  90.          Width           =   624
  91.       End
  92.       Begin Label Label2 
  93.          Alignment       =   1  'Right Justify
  94.          Caption         =   "&Bottom:"
  95.          Height          =   336
  96.          Left            =   2340
  97.          TabIndex        =   10
  98.          Top             =   720
  99.          Width           =   732
  100.       End
  101.       Begin Label Label1 
  102.          Alignment       =   1  'Right Justify
  103.          Caption         =   "&Right:"
  104.          Height          =   336
  105.          Left            =   2304
  106.          TabIndex        =   9
  107.          Top             =   252
  108.          Width           =   768
  109.       End
  110.    End
  111.    Begin CommandButton cmdCancel 
  112.       Cancel          =   -1  'True
  113.       Caption         =   "Cancel"
  114.       Height          =   372
  115.       Left            =   3456
  116.       TabIndex        =   7
  117.       Top             =   576
  118.       Width           =   1236
  119.    End
  120.    Begin CommandButton cmdOK 
  121.       Caption         =   "OK"
  122.       Default         =   -1  'True
  123.       Height          =   372
  124.       Left            =   3456
  125.       TabIndex        =   6
  126.       Top             =   108
  127.       Width           =   1272
  128.    End
  129.    Begin Label Label6 
  130.       Alignment       =   1  'Right Justify
  131.       Caption         =   "&Footer:"
  132.       Height          =   300
  133.       Left            =   288
  134.       TabIndex        =   14
  135.       Top             =   648
  136.       Width           =   876
  137.    End
  138.    Begin Label Label5 
  139.       Alignment       =   1  'Right Justify
  140.       Caption         =   "&Header:"
  141.       Height          =   264
  142.       Left            =   324
  143.       TabIndex        =   13
  144.       Top             =   180
  145.       Width           =   840
  146.    End
  147. End
  148. Option Explicit
  149.  
  150. Sub cmdCancel_Click ()
  151.     cmdOK.Tag = "Cancel"
  152.     Hide
  153. End Sub
  154.  
  155. Sub cmdOK_Click ()
  156.     cmdOK.Tag = "OK"
  157.     Hide
  158. End Sub
  159.  
  160. Sub Form_Load ()
  161.     cmdOK.Tag = "Cancel"
  162. End Sub
  163.  
  164.