I have Numeric Text Field which has event on keyReleased:
if event.keyCode == event.VK_ENTER:
value = event.source.floatValue
if system.gui.confirm('Are You sure?', 'Confirm'):
When I change the value of this Numeric Text Field and press Enter, confirmation dialogue pops up.
If I use mouse click to operate ‘Yes’ ‘No’ buttons on confirmation dilaogue, everything works fine.
But if I use Enter on confirmation dialogue, my event script works again. It means that event on confirmation dialogue is actually Numeric Text Field event.
Is it possible to separate those events somehow?