A Problem With Object_OnMouseLeaveEx(obj)

Tuesday, August 7, 2007 by ARIrish- | Discussion: DesktopX

I have a widget that autohides when you move the mouse away from it.  The code for the autohide is:

Sub Object_OnMouseLeaveEx(obj)
    If SuspendAction = False Then
        If Object.State = "AutoHide" Then
            HidePanel
        End If
    End If
End Sub

This works just fine, BUT, the object is a background, or drawer, in which there are other objects.  The problem is, when I move the mouse over one of these objects, DesktopX considers that a mouseleave and closes the drawer.  Is there some way I can apply the 'OnMouseLeave' to a group of objects rather than just one?

Thanks.
First Previous Page 2 of 2 Next Last
HAPTORK
Reply #21 Thursday, December 20, 2007 2:01 PM
And he came up with the smartest answer to the question. Really it seems that it solves the problem.
sViz
Reply #22 Thursday, December 20, 2007 4:23 PM
And he came up with the smartest answer to the question. Really it seems that it solves the problem.


It really makes alot of sense, and it's so simple.   

Please login to comment and/or vote for this skin.

Welcome Guest! Please take the time to register with us.
There are many great features available to you once you register, including:

  • Richer content, access to many features that are disabled for guests like commenting on the forums and downloading skins.
  • Access to a great community, with a massive database of many, many areas of interest.
  • Access to contests & subscription offers like exclusive emails.
  • It's simple, and FREE!



web-wc01