As subject says, the problem is that disabled buttons can be pressed and runs an event.
On Chrome, buttons works fine if are visible and disabled: they can't be pressed.
On Firefox and Internet Explorer, buttons can be pressed also if are visible and disabled.
Attach a Capx
https://www.dropbox.com/s/k8wsx38fv6cle ... utton.capx
Description of Capx
With this Capx you can see that pressing where there is an invisible and disabled button, an event will work anyway.
Steps to Reproduce Bug
- Run Layout
- Press where the yellow button is
Text "Hi" will appear also if invisible button is disabled (invisible button is on yellow area).
Text "Hi" should not appear because button is set on "disabled".
- Chrome: YES (only if button is invisible and disabled)
- FireFox: YES (also if button is visible and disabled)
- Internet Explorer: YES (also if button is visible and disabled)
Operating System and Service Pack
Windows 7 64 bit SP1
Construct 2 Version ID