Announcement

Collapse
No announcement yet.

Action on mouse click.

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Action on mouse click.

    Hi all,

    Here is my problem. I want to put the cursor over a button, let's use OK as an example. When I click and hold the mouse I want my highlighted image, or pushed OK button, to appear and stay on. Then when I release the mouse key the OK button returns to the up position and then my file loads/runs.

    I can make the OK look pressed and depressed using a hightlighted image, but it happens when the cursor is over the image.

    Any ideas?
    Thanks for any help,
    Lazerpower

  • #2
    Re: Action on mouse click.

    Hi,

    This really isn't possible using AutoPlay Menu Studio 3.0, this is because AutoPlay does not support the "Mouse-Up" event.

    It is something that has been brought up before, and would be a good future inclusion.

    mark.
    MSI Factory The Next Generation Intelligent Setup Builder

    Comment


    • #3
      Re: Action on mouse click.

      Well, that is a bummer!

      Thanks for the info Mark!

      Lazer of power.....

      Comment


      • #4
        Re: Action on mouse click.

        I've found a way to do close to what you want to do, if you don't mind making a little compromise. The image won't go back to normal until the mouse leaves it. I'll use two images (called Image1 and Image2) for examples. Here's what you do:

        Upon Page Open
        Hide Object -> Image2

        Image1
        Mouse Click Event
        Show Object -> Image2
        Hide Object -> Image1
        Execute Program -> (your program here)

        Image2
        Mouse Leave Event
        Show Object -> Image1
        Hide Object -> Image2

        Again, the image won't go back to the first one until the mouse leaves the object, but since the program will be running by then, I don't think they'll notice. Just make sure that both images are aligned exactly on the page, so it looks like there's only one image there.

        [This message has been edited by Jito463 (edited 12-03-2001).]

        Comment


        • #5
          Re: Action on mouse click.

          Hi Jito463,

          Good idea and thanks for the post. I'm sure this information will help users in the future.

          mark.
          MSI Factory The Next Generation Intelligent Setup Builder

          Comment


          • #6
            Re: Action on mouse click.

            I agree with Mark.

            Thanks Jito463!

            Lazerpower

            Comment

            Working...
            X