Results 1 to 5 of 5

Thread: mouse pointer

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Oct 1999
    Location
    St. Louis, MO USA
    Posts
    21

    Post

    Upon clicking enter our application begins it's processing. Is there a way to disable (or change the mouse pointer) for as long as it is doing it's processing to let the user know that the program is still working.

  2. #2
    Frenzied Member Mark Sreeves's Avatar
    Join Date
    Nov 1999
    Location
    UK
    Posts
    1,845

    Post

    sure

    Me.MousePointer = vbHourglass

    then

    Me.MousePointer = vbDefault

    resets it


    ------------------
    Mark Sreeves
    Analyst Programmer

    [email protected]
    A BMW Group Company

  3. #3
    Hyperactive Member
    Join Date
    Jan 1999
    Location
    Rotterdam, Netherlands
    Posts
    386

    Post

    Notice that a button can still be pressed, whether the mousecursor is an hourglass or not.
    You can disable the form using me.enabled = false .
    You can also use a progressbar to indicate the process is still in progress.

  4. #4
    Lively Member
    Join Date
    Oct 1999
    Posts
    67

    Post

    Can you change the pointer to a picture file?
    Like a novelty pointer?

  5. #5
    Guru Aaron Young's Avatar
    Join Date
    Jun 1999
    Location
    Red Wing, MN, USA
    Posts
    2,177

    Post

    You can by setting the Value to vbCustom and Loading an Image into the MouseIcon Property, but the Image has to be in a Cursor or Icon Format, ie.
    Code:
        Screen.MouseIcon = LoadPicture("..\Common\Graphics\Icons\Arrows\Point09.ico")
        Screen.MousePointer = vbCustom

    ------------------
    Aaron Young
    Analyst Programmer
    [email protected]
    [email protected]


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