Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

problem with form transitions #7

Open
GoogleCodeExporter opened this issue Jul 16, 2015 · 0 comments
Open

problem with form transitions #7

GoogleCodeExporter opened this issue Jul 16, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

first, Amazing code... Great Job... ;)

i just have a question, imagine the situation:

i have a form with a form_mouseLeave and form_mouseEnter transition. the 
problem is that when the mouse is over a certain child control, lets say a 
button, the form will do the form_mouseLeave action.

the way that i make it work was adding the following code:

foreach (Control control in Controls)
{
control.MouseEnter += new EventHandler(form_mouseEnter);
}


with this i forced the child control to execute the transition, but since all 
transitions have the time duration, when the form is performing the 
form_mouseEnter transition and i put the mouse hover the button, it restart the 
transition. making it very slow, since the path to travel is smaller for the 
same period of time.

is it a way to bypass this?! lets say, for example put some sort of a 
validation that when the mouse is hover the button it resumes the transition 
instead of restarting it?!

thx, and once again... excellent code!


Original issue reported on code.google.com by David.Fi...@gmail.com on 18 Oct 2010 at 4:10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant