home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Source Code / Visual Basic Source Code.iso / vbsource / arrays / array.frm (.txt) next >
Encoding:
Visual Basic Form  |  1997-08-11  |  1.1 KB  |  40 lines

  1. VERSION 4.00
  2. Begin VB.Form Form1 
  3.    BorderStyle     =   1  'Fixed Single
  4.    Caption         =   "Form1"
  5.    ClientHeight    =   4245
  6.    ClientLeft      =   4710
  7.    ClientTop       =   1830
  8.    ClientWidth     =   1920
  9.    Height          =   4650
  10.    Left            =   4650
  11.    LinkTopic       =   "Form1"
  12.    LockControls    =   -1  'True
  13.    MaxButton       =   0   'False
  14.    MinButton       =   0   'False
  15.    ScaleHeight     =   4245
  16.    ScaleWidth      =   1920
  17.    Top             =   1485
  18.    Width           =   2040
  19.    Begin VB.CommandButton Command1 
  20.       Caption         =   "Click Me!"
  21.       Height          =   360
  22.       Left            =   120
  23.       TabIndex        =   0
  24.       Top             =   135
  25.       Width           =   1695
  26.    End
  27. Attribute VB_Name = "Form1"
  28. Attribute VB_Creatable = False
  29. Attribute VB_Exposed = False
  30. Option Explicit
  31. Private Sub Label1_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
  32.    If Button = 2 Then
  33.       Form2.Visible = True
  34.    End If
  35. End Sub
  36. Private Sub Command1_Click()
  37.    Command1.Caption = "Click an Option"
  38.    Form2.Show vbModal
  39. End Sub
  40.