The b4p imagebutton does NOT support buttonup or buttondown, only the click event..
To Trap those events, you must use the door lib, and add the event from it...
Ok, Sorry!!!
I'm at work and I only have the 5.5 version of the IDE, in my work PC, but remeber that the events name are case sensitive...
So you should try "ButtonUp" and "ButtonDown"....
Actually the event names are not case-sensitive in B4ppc. It is only when using the Door library that things become case-sensitive. This seems to be an IDE bug. Both legacy and compiled apps add the event OK (in version 6.42 at least), the IDE doesn't.
I'm sorry but I don't understand the problem. You would just replace "click" with "buttondown" and it will work compiled but not in the IDE until the bug is fixed.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.