diff options
-rw-r--r-- | simplegui.mod/simplegui.bmx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/simplegui.mod/simplegui.bmx b/simplegui.mod/simplegui.bmx index 72d79f8..90eb595 100644 --- a/simplegui.mod/simplegui.bmx +++ b/simplegui.mod/simplegui.bmx @@ -270,7 +270,9 @@ Type TText Extends TWidget End Method Method HandleKey(k:Int) - If k=8 + If k=27 + text="" + Else If k=8 If text.length>0 text=text[0..text.length-1] EndIf |