Author Topic: Proper Name for onMouseLeave for a GuiBitmapButtonCtrl  (Read 617 times)

I was wondering what the correct function name for ::onMouseLeave is for a bitmap button. I've tried both ::onMouseLeave and ::onMouseExit, but neither are called when the mouse leaves the boundaries of the button.

Does anyone know the correct function for this, or is the function just obsolete?

Pretty sure it's ::onMouseLeave. Maybe it's broken? Check what RTB4 does for that.

I don't think those functions get called for a button.

I don't think those functions get called for a button.

I know onMouseEnter does, because it works in the script I'm writing. However, onMouseLeave is never called.


Pretty sure it's ::onMouseLeave. Maybe it's broken? Check what RTB4 does for that.

Oh god, I think it would be easier to merely see if it works without RTB than to sift through all its files. ._.

Didn't take me long while looking in RTB to see that Ephi used something called "new GuiMouseEventCtrl()"
It took me less than a minute because I knew where to look.