aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Hermes/GUI.rkt3
1 files changed, 3 insertions, 0 deletions
diff --git a/Hermes/GUI.rkt b/Hermes/GUI.rkt
index cae776a..a257acd 100644
--- a/Hermes/GUI.rkt
+++ b/Hermes/GUI.rkt
@@ -115,6 +115,9 @@
[label "Send"]
[callback button-do-stuff]))
+
+ (send input focus) ; move focus to text-field
+
; get-dc retrieves the canvas' device context. From racket docs. A dc object
; is a drawing context for drawing graphics and text. It represents output
; devices in a generic way.