Erel, I assume you have noticed this problem http://www.b4x.com/forum/questions-help-needed/2975-addevent-buttonup-buttondown.html#post16694
This seems to be an IDE bug. Both legacy and compiled apps add the event OK with AddEvent (in version 6.42 at least), the IDE when run doesn't.
This seems to be an IDE bug. Both legacy and compiled apps add the event OK with AddEvent (in version 6.42 at least), the IDE when run doesn't.