home *** CD-ROM | disk | FTP | other *** search
/ Planet Source Code Jumbo …e CD Visual Basic 1 to 7 / 1_2002.ISO / Data / Zips / CODE_UPLOAD13443162001.psc / smProgress / UserControl1.ctl < prev   
Encoding:
Text File  |  1999-04-14  |  1.3 KB  |  49 lines

  1. VERSION 5.00
  2. Begin VB.UserControl UserControl1 
  3.    ClientHeight    =   4110
  4.    ClientLeft      =   0
  5.    ClientTop       =   0
  6.    ClientWidth     =   4800
  7.    ScaleHeight     =   4110
  8.    ScaleWidth      =   4800
  9.    Begin VB.CommandButton Command1 
  10.       Caption         =   "Command1"
  11.       Height          =   315
  12.       Left            =   3060
  13.       TabIndex        =   1
  14.       Top             =   480
  15.       Width           =   315
  16.    End
  17.    Begin VB.Label Label2 
  18.       BackColor       =   &H00FFFFFF&
  19.       Caption         =   "Label2"
  20.       Height          =   1635
  21.       Left            =   300
  22.       TabIndex        =   2
  23.       Top             =   840
  24.       Visible         =   0   'False
  25.       Width           =   2715
  26.    End
  27.    Begin VB.Label Label1 
  28.       BackColor       =   &H00FFFFFF&
  29.       BorderStyle     =   1  'Fixed Single
  30.       Caption         =   "Label1"
  31.       Height          =   315
  32.       Left            =   300
  33.       TabIndex        =   0
  34.       Top             =   480
  35.       Width           =   2715
  36.    End
  37. End
  38. Attribute VB_Name = "UserControl1"
  39. Attribute VB_GlobalNameSpace = False
  40. Attribute VB_Creatable = True
  41. Attribute VB_PredeclaredId = False
  42. Attribute VB_Exposed = True
  43. Option Explicit
  44.  
  45. Private Sub Command1_Click()
  46.     Label2.Visible = Not Label2.Visible
  47. End Sub
  48.  
  49.