Results 1 to 2 of 2
  1. #1
    Silver Lounger
    Join Date
    Dec 2000
    Location
    California, USA
    Posts
    1,758
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Mouse Over & Beep (03)

    I am looking for an object either an autoshape or perhaps a control toolbox label that when the cursor is passed over it will beep ie a mouse over command.

    Any suggestions?

    Thanks,
    John

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Mouse Over & Beep (03)

    Controls from the Control Toolbox have a MouseMove event. In its simplest form, code looks like this:
    <code>
    Private Sub Label1_MouseMove( _
    ByVal Button As Integer, ByVal Shift As Integer, _
    ByVal X As Single, ByVal Y As Single)
    Beep
    End Sub</code>

Posting Permissions

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