Results 1 to 3 of 3

Thread: Can I change MousePointers with VBcript?

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jun 2000
    Posts
    23

    Question

    I would like to know if can be possible changing the mousepointer from VBScript code... it would help me...

    Thanks!
    in othin ihuan in tonaltin nican tzonquica

  2. #2
    Black Cat JoshT's Avatar
    Join Date
    Nov 2000
    Location
    WNY, USA
    Posts
    4,032
    There is a CSS cursor property you could manipulate with VBScript.

    This works in IE5.5:
    Code:
    <html>
    <head>
    	<title>Untitled</title>
    <style>
    h1 {
    	cursor: crosshair;
    }
    </style>
    </head>
    
    <body>
    <h1>TESTSTSTSTS</h1>
    <h2 onClick="this.style.cursor='crosshair'">BLAHBLAH</h2>
    
    </body>
    </html>
    Josh
    Josh
    Get these: Mozilla Opera OpenBSD
    I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Jun 2000
    Posts
    23

    Question But...

    im trying to change the mouse pointer when click over a button doing:

    Sub mybutton_OnClick
    document.body.style.cursor="wait"
    ...
    En sub

    but doesn't work...
    in othin ihuan in tonaltin nican tzonquica

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width