![]() |
onMouseEnter/onMouseLeave
I'm trying to create a tooltip GUI. To do this, I'm using onMouseEnter/onMouseLeave. However, they aren't working the way I had hoped they would.
It seems that onMouseLeave is called when the mouse simply moves inside the GUI control, rather than actually leaving the control itself. My guess is that it's because the mouse is entering a child control. (See sample code attached.) Is there a possibility of onMouseEnter/onMouseLeave to ignore child controls, if they are not used in the child control itself? I could use a timeout, but I'd really rather not. Example code: PHP Code:
|
Tried making the child controls inactive?
And, PHP Code:
|
1 Attachment(s)
Quote:
Quote:
|
Ah, ok :p
|
Let them ignore mouse events:
useownprofile = true; profile.modal = false; |
Dylan, have items in GuiScrollCtrl perhaps?
|
Quote:
|
| All times are GMT +2. The time now is 07:32 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.