Results 1 to 2 of 2

Thread: How about...

  1. #1
    sql_lall
    Guest

    How about...

    This only works with some objects, but:
    (for simplification, "object" is used in reference to the thing u want to test whether the mouse is over )

    x1 = object.left
    x2 = object.left + object.width
    y1 = object.top
    y2 = object.top + object.height

    then you can put this in the code:

    Form1_Mouse move (....... x as integer, y as integer)
    -(This may not be the right name, but it's in the list up the top)

    if x > x1 and x < x2 and y > y1 and y < y2 then
    print "mouse is over"
    end if

  2. #2
    sql_lall
    Guest

    Exclamation SORRY!!!!

    Delete this thread. I must have pressed "new thread" instead of "post reply". It was supposed to be in response to a different thread, where someone had asked about a mouse_over function.
    Sorry for any inconvenience.

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