• vbHourglass (vb6, w2000)

    Author
    Topic
    #360886

    I want the hourglass cursor to appear as another form is loading. From my cmdOK button on frm1, I have MousePointer = vbHourglass. on my load on frm2, i have MousePointer = vbDefault. Is this correct? It doesn’t seem to work. thanks for the help

    Viewing 1 reply thread
    Author
    Replies
    • #544479

      You need an object. Try

      Screen.MousePointer = vbHourglass

    • #544577

      The cursor and mouse pointer are two different objects. To set the cursor shape use

      system.cursor = wdCursorWait
      

      Deb grin

      • #544642

        Well, *a* cursor and the mousepointer are two different objects, but unless you’re talking about recordset cursors, the two terms are usually interchangeable. The exception would be if you wanted to set the default cursor, I suppose. You’re using a Word constant, but in VB you don’t have a cursor object or access to Word constants unless you set a reference to a library that contains them. Instead, you use the mousepointer object, as you do in Access.

    Viewing 1 reply thread
    Reply To: vbHourglass (vb6, w2000)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: