Ask a Question related to ASP.NET Building Controls, Design and Development.
-
Alvaro E. Gonzalez #1
MouseLeave fired on childs controls, This does not have thus to be.
Hi;
A UserControl named ContainerInfo has children controls;
ContainerInfo also has the MouseLeave event.
But one goes off when the cursor of the mouse is in a children control .
This does not have thus to be, by a contracted being in ContainerInfo
mouse has not left this.
What I must do?
Regards
Alvaro.
Alvaro E. Gonzalez Guest
-
mouseLeave question
I want to have it so the mouseLeave handler only takes effect on a sprite when leaving from only one direction(from the right, left, top, bottom). ... -
Director 3D - Question about childs...
Hi, I've got a problem with the "addchild" code : what's the solution to break the link between a parent and a child into Director Shockwave 3D ?... -
Child Scripts not responding to MouseEnter or MouseLeave
Hi, I am having a problem where my child scripts are not responding to MouseEnter or MouseLeave events, any help would be great. Thanks -
mouseEnter / mouseLeave sprite error
I get the error "This shockwave movie has errors that have causes playback problems" when I repeated pass the mouse over a text sprite with a hilite... -
fork, childs, zombies, start a process in the background without waiting for it
Hi I have a parent program, that should loop (eternally), and start other programs without waiting for them, so many programs can be started at... -
Gabriele G. Ponti #2
Re: MouseLeave fired on childs controls, This does not have thus to be.
One possible workaround is to check if the mouse is in fact outside the user
control area when the MouseLeave event is raised.
private void ContainerInfo_MouseLeave( object sender, EventArgs e )
{
if( !this.ClientRectangle.Contains( PointToClient(
Control.MousePosition ) ) )
{
// handle the event here
}
}
"Alvaro E. Gonzalez" <AGonzalezv@gmail.com> wrote in message
news:4564A5A6.7020603@gmail.com...> Hi;
>
> A UserControl named ContainerInfo has children controls;
> ContainerInfo also has the MouseLeave event.
> But one goes off when the cursor of the mouse is in a children control .
> This does not have thus to be, by a contracted being in ContainerInfo
> mouse has not left this.
>
> What I must do?
> Regards
> Alvaro.
>
Gabriele G. Ponti Guest



Reply With Quote

