mouseEnter and Visual Effects Problems

Deploying to Windows? Utilizing VB Script execution? This is the place to ask Windows-specific questions.

Moderators: heatherlaine, Klaus, FourthWorld, robinmiller, kevinmiller

Post Reply
Googie85
Posts: 105
Joined: Tue Aug 05, 2014 10:07 am

mouseEnter and Visual Effects Problems

Post by Googie85 » Fri Nov 02, 2018 10:36 am

Hi Guys!!

I am fresh out of ideas with animating an image when a mouseEnter event is called. I dont know how to explain my situation so I have included my stack here in this post. When the mouse pointer hovers over the image I use the following:

Code: Select all

      show image "Wizard.png" with visual effect push up very fast
When I hover back and forth over ALL buttons I have to wait for the items to catch up from animating.

Anyone with any ideas?

Many Thanks,

Googie.
Forum Pic.jpg
New GUI.rar
(61.79 KiB) Downloaded 7 times

Klaus
Posts: 10388
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: mouseEnter and Visual Effects Problems

Post by Klaus » Fri Nov 02, 2018 11:49 am

Hi Googir,

unfotunately visual effects are blocking, so we cannot stop them, once they start to work.

But we can control the duration (depending on the effect) by setting "the effectrate". That controls the duration of the "very slow" visual effect! Yes, mentally a bit challenging, but works. :D
The "default" setting is 2000.

So you schould do some tests with different durations until it suits your needs:

Code: Select all

...
## Set the effectrate in millisecs:
set the effectrate to 300
show image "Wizard.png" with visual effect push up very slow
...
Best

Klaus

Post Reply

Return to “Windows”