VERSION 5.00 Begin VB.Form frmCounter Caption = "Counter" ClientHeight = 3195 ClientLeft = 60 ClientTop = 345 ClientWidth = 4680 LinkTopic = "Form1" ScaleHeight = 3195 ScaleWidth = 4680 StartUpPosition = 3 'Windows Default Begin VB.CommandButton cmdExit Caption = " Exit" Height = 495 Left = 3120 TabIndex = 3 Top = 2160 Width = 1215 End Begin VB.CommandButton cmdClear Caption = "Clear" Height = 495 Left = 1680 TabIndex = 2 Top = 2160 Width = 1215 End Begin VB.CommandButton cmdCount Caption = "Count" Height = 495 Left = 240 TabIndex = 1 Top = 2160 Width = 1215 End Begin VB.Label lblTotal Alignment = 1 'Right Justify BackColor = &H00FFFFFF& Caption = "0" BeginProperty Font Name = "MS Sans Serif" Size = 18 Charset = 0 Weight = 700 Underline = 0 'False Italic = 0 'False Strikethrough = 0 'False EndProperty Height = 495 Left = 1560 TabIndex = 0 Top = 360 Width = 1215 End End Attribute VB_Name = "frmCounter" Attribute VB_GlobalNameSpace = False Attribute VB_Creatable = False Attribute VB_PredeclaredId = True Attribute VB_Exposed = False ' Counter - simple demo, just count button clicks ' ' 23-Apr-2000 J. Jacky Demo for CofC II Private Sub cmdClear_Click() lblTotal.Caption = 0 End Sub Private Sub cmdCount_Click() lblTotal.Caption = lblTotal.Caption + 1 End Sub Private Sub cmdExit_Click() End End Sub