home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1996 December / PCWKCD1296.iso / wtest / micrsoft / vbasic4 / vb4-1.cab / demo.mdb / FormTemplates / 6_FileObject / 6_FileObject.txt (.txt)
Encoding:
Visual Basic Form  |  1995-08-15  |  6.9 KB  |  236 lines

  1. VERSION 4.00
  2. Begin VB.Form Form2 
  3.    Caption         =   "Form2"
  4.    ClientHeight    =   4785
  5.    ClientLeft      =   3930
  6.    ClientTop       =   2025
  7.    ClientWidth     =   5445
  8.    Height          =   5475
  9.    Left            =   3870
  10.    LinkTopic       =   "Form2"
  11.    ScaleHeight     =   4785
  12.    ScaleWidth      =   5445
  13.    Top             =   1395
  14.    Width           =   5565
  15.    Begin VB.Frame Frame1 
  16.       Caption         =   "Frame1"
  17.       Height          =   1005
  18.       Left            =   75
  19.       TabIndex        =   17
  20.       Top             =   1710
  21.       Width           =   1095
  22.       Begin VB.TextBox Text3 
  23.          Height          =   285
  24.          Left            =   165
  25.          TabIndex        =   18
  26.          Text            =   "Text3"
  27.          Top             =   660
  28.          Width           =   825
  29.       End
  30.       Begin VB.Label Label3 
  31.          Caption         =   "Label3"
  32.          Height          =   225
  33.          Left            =   150
  34.          TabIndex        =   19
  35.          Top             =   330
  36.          Width           =   855
  37.       End
  38.    End
  39.    Begin VB.PictureBox Picture2 
  40.       Height          =   1245
  41.       Left            =   90
  42.       ScaleHeight     =   1155
  43.       ScaleWidth      =   915
  44.       TabIndex        =   14
  45.       Top             =   120
  46.       Width           =   1005
  47.       Begin VB.TextBox Text2 
  48.          Height          =   330
  49.          Left            =   195
  50.          TabIndex        =   15
  51.          Text            =   "Text2"
  52.          Top             =   225
  53.          Width           =   570
  54.       End
  55.       Begin VB.Label Label2 
  56.          Caption         =   "Label2"
  57.          Height          =   240
  58.          Left            =   210
  59.          TabIndex        =   16
  60.          Top             =   735
  61.          Width           =   540
  62.       End
  63.    End
  64.    Begin VB.Frame fraContains 
  65.       Caption         =   "Frame1"
  66.       Height          =   2235
  67.       Index           =   1
  68.       Left            =   1260
  69.       TabIndex        =   8
  70.       Top             =   2280
  71.       Width           =   2940
  72.       Begin VB.CommandButton cmdCancel 
  73.          Cancel          =   -1  'True
  74.          Caption         =   "Cancel"
  75.          Height          =   420
  76.          Index           =   2
  77.          Left            =   330
  78.          TabIndex        =   13
  79.          Top             =   810
  80.          Width           =   1080
  81.       End
  82.       Begin VB.CommandButton cmdOK 
  83.          Caption         =   "OK"
  84.          Default         =   -1  'True
  85.          Height          =   420
  86.          Index           =   2
  87.          Left            =   330
  88.          TabIndex        =   12
  89.          Top             =   345
  90.          Width           =   1080
  91.       End
  92.       Begin VB.PictureBox Picture1 
  93.          Height          =   690
  94.          Index           =   1
  95.          Left            =   225
  96.          ScaleHeight     =   600
  97.          ScaleWidth      =   2520
  98.          TabIndex        =   9
  99.          Top             =   1395
  100.          Width           =   2610
  101.          Begin VB.TextBox Text1 
  102.             Height          =   315
  103.             Index           =   1
  104.             Left            =   1080
  105.             TabIndex        =   10
  106.             Text            =   "Text1"
  107.             Top             =   150
  108.             Width           =   1305
  109.          End
  110.          Begin VB.Label Label1 
  111.             Caption         =   "Label1"
  112.             Height          =   165
  113.             Index           =   1
  114.             Left            =   90
  115.             TabIndex        =   11
  116.             Top             =   240
  117.             Width           =   825
  118.          End
  119.       End
  120.    End
  121.    Begin VB.Frame fraContains 
  122.       Caption         =   "Frame1"
  123.       Height          =   2235
  124.       Index           =   0
  125.       Left            =   1230
  126.       TabIndex        =   2
  127.       Top             =   -45
  128.       Width           =   2940
  129.       Begin VB.PictureBox Picture1 
  130.          Height          =   690
  131.          Index           =   0
  132.          Left            =   225
  133.          ScaleHeight     =   600
  134.          ScaleWidth      =   2520
  135.          TabIndex        =   5
  136.          Top             =   1395
  137.          Width           =   2610
  138.          Begin VB.TextBox Text1 
  139.             Height          =   315
  140.             Index           =   0
  141.             Left            =   1080
  142.             TabIndex        =   7
  143.             Text            =   "Text1"
  144.             Top             =   150
  145.             Width           =   1305
  146.          End
  147.          Begin VB.Label Label1 
  148.             Caption         =   "Label1"
  149.             Height          =   165
  150.             Index           =   0
  151.             Left            =   90
  152.             TabIndex        =   6
  153.             Top             =   240
  154.             Width           =   825
  155.          End
  156.       End
  157.       Begin VB.CommandButton cmdOK 
  158.          Caption         =   "OK"
  159.          Height          =   420
  160.          Index           =   1
  161.          Left            =   330
  162.          TabIndex        =   4
  163.          Top             =   345
  164.          Width           =   1080
  165.       End
  166.       Begin VB.CommandButton cmdCancel 
  167.          Caption         =   "Cancel"
  168.          Height          =   420
  169.          Index           =   1
  170.          Left            =   330
  171.          TabIndex        =   3
  172.          Top             =   810
  173.          Width           =   1080
  174.       End
  175.    End
  176.    Begin VB.CommandButton cmdCancel 
  177.       Caption         =   "Cancel"
  178.       Height          =   420
  179.       Index           =   0
  180.       Left            =   4275
  181.       TabIndex        =   1
  182.       Top             =   2340
  183.       Width           =   1080
  184.    End
  185.    Begin VB.CommandButton cmdOK 
  186.       Caption         =   "OK"
  187.       Height          =   420
  188.       Index           =   0
  189.       Left            =   4245
  190.       TabIndex        =   0
  191.       Top             =   765
  192.       Width           =   1080
  193.    End
  194.    Begin VB.Menu mnuFile 
  195.       Caption         =   "&File"
  196.       Begin VB.Menu mnuOpen 
  197.          Caption         =   "&Open..."
  198.       End
  199.       Begin VB.Menu mnuNew 
  200.          Caption         =   "&New"
  201.       End
  202.       Begin VB.Menu mnuSep 
  203.          Caption         =   "-"
  204.       End
  205.       Begin VB.Menu mnuExit 
  206.          Caption         =   "E&xit"
  207.       End
  208.    End
  209.    Begin VB.Menu mnuEdit 
  210.       Caption         =   "&Edit"
  211.       Begin VB.Menu mnuCut 
  212.          Caption         =   "C&ut"
  213.          Shortcut        =   ^X
  214.       End
  215.       Begin VB.Menu mnuCopy 
  216.          Caption         =   "&Copy"
  217.          Shortcut        =   ^C
  218.       End
  219.       Begin VB.Menu mnuPaste 
  220.          Caption         =   "&Paste"
  221.          Shortcut        =   ^V
  222.       End
  223.    End
  224. Attribute VB_Name = "Form2"
  225. Attribute VB_Creatable = False
  226. Attribute VB_Exposed = False
  227. Option Explicit
  228. Private Sub cmdCancel_Click()
  229.     PressedOK = False
  230.     Unload Me
  231. End Sub
  232. Private Sub cmdOK_Click()
  233.     PressedOK = True
  234.     Unload Me
  235. End Sub
  236.