Blockland Forums > Modification Help
Proper Name for onMouseLeave for a GuiBitmapButtonCtrl
Pages: (1/1)
Xalos:
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?
Greek2me:
Pretty sure it's ::onMouseLeave. Maybe it's broken? Check what RTB4 does for that.
Superb:
I don't think those functions get called for a button.
Xalos:
--- Quote from: Superb on December 27, 2011, 06:24:37 PM ---I don't think those functions get called for a button.
--- End quote ---
I know onMouseEnter does, because it works in the script I'm writing. However, onMouseLeave is never called.
--- Quote from: Greek2me on December 27, 2011, 04:48:39 PM ---Pretty sure it's ::onMouseLeave. Maybe it's broken? Check what RTB4 does for that.
--- End quote ---
Oh god, I think it would be easier to merely see if it works without RTB than to sift through all its files. ._.
Chrono:
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.
Pages: (1/1)