home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Controls / Visual Basic Controls.iso / vbcontrol / pcmmouse / sample.frm (.txt) < prev    next >
Encoding:
Visual Basic Form  |  1999-04-03  |  1.7 KB  |  59 lines

  1. VERSION 5.00
  2. Object = "{7E53B7CE-E53F-11D2-8B39-000000000000}#9.0#0"; "PCMMouse.ocx"
  3. Begin VB.Form Sample 
  4.    Caption         =   "Sample mouse"
  5.    ClientHeight    =   1320
  6.    ClientLeft      =   60
  7.    ClientTop       =   345
  8.    ClientWidth     =   3540
  9.    LinkTopic       =   "Form1"
  10.    ScaleHeight     =   1320
  11.    ScaleWidth      =   3540
  12.    StartUpPosition =   3  'Windows Default
  13.    Begin PCMMouse.Mouse Mouse1 
  14.       Left            =   2880
  15.       Top             =   120
  16.       _ExtentX        =   873
  17.       _ExtentY        =   873
  18.       PosX            =   "375"
  19.       PosY            =   "349"
  20.    End
  21.    Begin VB.CommandButton Command1 
  22.       Caption         =   "Exit"
  23.       Height          =   375
  24.       Left            =   1680
  25.       TabIndex        =   2
  26.       Top             =   720
  27.       Width           =   975
  28.    End
  29.    Begin VB.Timer Timer1 
  30.       Interval        =   50
  31.       Left            =   1800
  32.       Top             =   0
  33.    End
  34.    Begin VB.Label Label2 
  35.       Height          =   255
  36.       Left            =   120
  37.       TabIndex        =   1
  38.       Top             =   720
  39.       Width           =   975
  40.    End
  41.    Begin VB.Label Label1 
  42.       Height          =   255
  43.       Left            =   120
  44.       TabIndex        =   0
  45.       Top             =   240
  46.       Width           =   975
  47.    End
  48. Attribute VB_Name = "Sample"
  49. Attribute VB_GlobalNameSpace = False
  50. Attribute VB_Creatable = False
  51. Attribute VB_PredeclaredId = True
  52. Attribute VB_Exposed = False
  53. Private Sub Command1_Click()
  54. End Sub
  55. Private Sub Timer1_Timer()
  56. Label1.Caption = "X = " & Mouse1.PosX
  57. Label2.Caption = "Y = " & Mouse1.PosY
  58. End Sub
  59.