From 18b2b07d3d018c8bd682bbeb0dbc6fae9572f5a8 Mon Sep 17 00:00:00 2001 From: jp Date: Tue, 15 Mar 2016 14:38:35 +0100 Subject: tab key --- src/GraphicObjects/TextBox.cs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/GraphicObjects/TextBox.cs') diff --git a/src/GraphicObjects/TextBox.cs b/src/GraphicObjects/TextBox.cs index d3b8319c..6d2d8ca0 100644 --- a/src/GraphicObjects/TextBox.cs +++ b/src/GraphicObjects/TextBox.cs @@ -72,6 +72,7 @@ namespace Crow public override void onKeyDown (object sender, KeyboardKeyEventArgs e) { base.onKeyDown (sender, e); + Key key = e.Key; switch (key) @@ -140,6 +141,8 @@ namespace Crow break; case Key.RWin: break; + case Key.Tab: + this.Insert("\t"); default: break; } -- cgit v1.3.1-4-g156e