home *** CD-ROM | disk | FTP | other *** search
/ Dan Appleman's Visual Bas…s Guide to the Win32 API / Dan.Applmans.Visual.Basic.5.0.Programmers.Guide.To.The.Win32.API.1997.Ziff-Davis.Press.CD / VB5PG32.mdf / vbpg32 / samples5 / ch05 / timwst32.frm (.txt) < prev    next >
Encoding:
Visual Basic Form  |  1997-02-16  |  1.4 KB  |  52 lines

  1. VERSION 5.00
  2. Begin VB.Form frmWaste 
  3.    Appearance      =   0  'Flat
  4.    BackColor       =   &H80000005&
  5.    Caption         =   "Time Waster"
  6.    ClientHeight    =   2070
  7.    ClientLeft      =   1095
  8.    ClientTop       =   1485
  9.    ClientWidth     =   3675
  10.    BeginProperty Font 
  11.       Name            =   "MS Sans Serif"
  12.       Size            =   8.25
  13.       Charset         =   0
  14.       Weight          =   700
  15.       Underline       =   0   'False
  16.       Italic          =   0   'False
  17.       Strikethrough   =   0   'False
  18.    EndProperty
  19.    ForeColor       =   &H80000008&
  20.    LinkTopic       =   "Form1"
  21.    PaletteMode     =   1  'UseZOrder
  22.    ScaleHeight     =   2070
  23.    ScaleWidth      =   3675
  24.    Begin VB.TextBox Text1 
  25.       Appearance      =   0  'Flat
  26.       Height          =   315
  27.       Left            =   540
  28.       TabIndex        =   0
  29.       Text            =   "Text1"
  30.       Top             =   600
  31.       Width           =   2235
  32.    End
  33. Attribute VB_Name = "frmWaste"
  34. Attribute VB_GlobalNameSpace = False
  35. Attribute VB_Creatable = False
  36. Attribute VB_PredeclaredId = True
  37. Attribute VB_Exposed = False
  38. ' Copyright 
  39.  1997 Desaware Inc. All Rights Reserved
  40. Option Explicit
  41. Private Sub Form_Load()
  42. End Sub
  43. Private Sub Text1_Change()
  44.     Static z%
  45.     Dim l&
  46.     If z% = 0 Then
  47.         For l& = 1 To 10000000
  48.         Next l&
  49.         z% = 1
  50.     End If
  51. End Sub
  52.