Skip to content

problem with form transitions #7

@GoogleCodeExporter

Description

@GoogleCodeExporter
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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions