Results 1 to 2 of 2

Thread: Mouse Pointer over Textbox

  1. #1

    Thread Starter
    Serge's Avatar
    Join Date
    Feb 1999
    Location
    Scottsdale, Arizona, USA
    Posts
    2,744

    Post

    Youc can change the Screen.MousePointer property:

    Code:
    Private Sub Form_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
        Screen.MousePointer = vbDefault
    End Sub
    
    
    Private Sub Text1_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
        Screen.MousePointer = vbUpArrow
    End Sub
    Look in help for MousePointer property. IT will tell you what standard cursors that are available.


    Regards,

    ------------------

    Serge

    Software Developer
    [email protected]
    [email protected]



  2. #2
    New Member
    Join Date
    Oct 1999
    Posts
    1

    Post

    In some applications, the arrow mousepointer automatically positions itself over a textbox. What command can I use in VB6 to achieve this?
    Thanks.

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