Menu

#56 keyReleased() sent to Canvas after modal textbox is closed

open
nobody
None
5
2007-06-25
2007-06-25
No

A Canvas.keyReleased() event is sent to the active Canvas (displayable) upon dismissal of a TextBox (lcdui). What happens here is that the box is closed upon keyPressed and the (subsequent) keyReleased is sent to the next displayable. A better solution would be to self-contain the key events within the TextBox (it is modal after all), by acting upon the keyReleased event.

As a side note, what a stunning piece of software you guys did ;)

Discussion


Log in to post a comment.